A few people seem to be having trouble setting up GB-PVR in client server mode using the method described here
There are 2 main problems to solve with the client/server mode:
1) There can only be one GB-PVR database, so you have to point the client(s) at the server database
2) Recordings:
The recording service on the server needs to know where to store the files it's recording. The Clients need to know where the recordings are so that it can pick them up to view them.
The location has to be common and accessible to both server and clients.
Solving Issue 1 is fairly easy, you can edit the config.xml on the clients and provide a unc path for the access database (see below)
Issue 2 is a bit harder, the previous post tried to solve it by making both the server and client point to a unc path, as a network share didn't work.
While it works, it seems a bit silly to make the server work through the network stack when all the drives are actually local.
New Method:
------------
If you created a seperate partition, or installed another drive on your server machine and gave it a drive letter that was not in use on any of your client machines (for example G: ) you could set your recording directory to G:\blah\blah and share the G drive on your server as \\server\GB-PVRDrive.
On your client machines, map \\server\GB-PVRDrive as G: and then both client and server have a common path to the recordings. If this is the case, you can skip the next bit and just go to the client setup.
What if you only have one drive in your server
--------------------------------------------
If you only have one drive in your server machine and you don't want to partition it, I came up with another method. By using the SUBST command, you can create a virtual drive letter for your recordings drive. The only issue is that the SUBST command is only local to the session, and the recording service running under the 'local system' account couldn't pick it up.
I created a new service that can run the SUBST command under the local system account and bounce the GB-PVR recording service so that the recording service can pick up the virtual drive.
Install the Virtual Drive Service on the Server
-------------------------------------------
The tool is located here http://www.hoontune.com/files/gb-pvr_vds.zip
Better instructions are now further down here
On your server machine, download the zip file, extract and run the setup.exe. A Dialog will pop up asking which drive letter you want to use, select on that is not used on either your server or client(s) e.g. G: and click save.
The service will now start up, and re-start the GB-PVR Recording Service.
If you open My Computer you should see this new drive letter show up.
Now is the time to stop GB-PVR, the Recording Service and the Tray application. Make a backup of your gb-pvr database and your config.xml
In the directory where you installed the Virtual Drive Service (C:\Program Files\HoonTune\GB-PVR Virtual Drive Service by default) is a program called 'GB-PVR VDS Server Config.exe' run this application to change the file path to your existing recordings from C:\ to G:\ (or whatever drive letter you selected for the Virtual Drive Service)
Click Continue, and it will tell you how many recordings it changed click OK and it will explain what other changes you should make. Click Close.
Open the config.xml file in the GB-PVR directory with notepad and find <AutoRemoveMissingRecordings> and change true to false.
You can also change the <RecordingsDirectory>to point to your new drive G: instead of C:, or you can save the file and do it with the GB-PVR config application, whatever suits you best.
Make sure you save the file and then you can restart GB-PVR and the Recording Service and make sure they are working OK.
When you're happy that they are working OK create a share on the C: drive call it something like GB-PVRDrive
Last step is to create a hole in any firewall you are running for TCP port 7968
I'll put the details for configuring the client in the next post.
As always, I've done this to help people out but there are no guarantees, back everything up if you don't want to lose it
There are 2 main problems to solve with the client/server mode:
1) There can only be one GB-PVR database, so you have to point the client(s) at the server database
2) Recordings:
The recording service on the server needs to know where to store the files it's recording. The Clients need to know where the recordings are so that it can pick them up to view them.
The location has to be common and accessible to both server and clients.
Solving Issue 1 is fairly easy, you can edit the config.xml on the clients and provide a unc path for the access database (see below)
Issue 2 is a bit harder, the previous post tried to solve it by making both the server and client point to a unc path, as a network share didn't work.
While it works, it seems a bit silly to make the server work through the network stack when all the drives are actually local.
New Method:
------------
If you created a seperate partition, or installed another drive on your server machine and gave it a drive letter that was not in use on any of your client machines (for example G: ) you could set your recording directory to G:\blah\blah and share the G drive on your server as \\server\GB-PVRDrive.
On your client machines, map \\server\GB-PVRDrive as G: and then both client and server have a common path to the recordings. If this is the case, you can skip the next bit and just go to the client setup.
What if you only have one drive in your server
--------------------------------------------
If you only have one drive in your server machine and you don't want to partition it, I came up with another method. By using the SUBST command, you can create a virtual drive letter for your recordings drive. The only issue is that the SUBST command is only local to the session, and the recording service running under the 'local system' account couldn't pick it up.
I created a new service that can run the SUBST command under the local system account and bounce the GB-PVR recording service so that the recording service can pick up the virtual drive.
Install the Virtual Drive Service on the Server
-------------------------------------------
The tool is located here http://www.hoontune.com/files/gb-pvr_vds.zip
Better instructions are now further down here
On your server machine, download the zip file, extract and run the setup.exe. A Dialog will pop up asking which drive letter you want to use, select on that is not used on either your server or client(s) e.g. G: and click save.
The service will now start up, and re-start the GB-PVR Recording Service.
If you open My Computer you should see this new drive letter show up.
Now is the time to stop GB-PVR, the Recording Service and the Tray application. Make a backup of your gb-pvr database and your config.xml
In the directory where you installed the Virtual Drive Service (C:\Program Files\HoonTune\GB-PVR Virtual Drive Service by default) is a program called 'GB-PVR VDS Server Config.exe' run this application to change the file path to your existing recordings from C:\ to G:\ (or whatever drive letter you selected for the Virtual Drive Service)
Click Continue, and it will tell you how many recordings it changed click OK and it will explain what other changes you should make. Click Close.
Open the config.xml file in the GB-PVR directory with notepad and find <AutoRemoveMissingRecordings> and change true to false.
You can also change the <RecordingsDirectory>to point to your new drive G: instead of C:, or you can save the file and do it with the GB-PVR config application, whatever suits you best.
Make sure you save the file and then you can restart GB-PVR and the Recording Service and make sure they are working OK.
When you're happy that they are working OK create a share on the C: drive call it something like GB-PVRDrive
Last step is to create a hole in any firewall you are running for TCP port 7968
I'll put the details for configuring the client in the next post.
As always, I've done this to help people out but there are no guarantees, back everything up if you don't want to lose it