2005-05-15, 10:15 PM
Hello All!
It has been a while when I last did something for the community, but now I'd like to contribute with couple of thoughts and one howto. Following is solely my own opinion and represent my personal experience.
Cross-platform networked viewing of GB-PVR recordings:
NB! This is for viewing only, recording must be done via GBPVR web interface! There are couple of ways viewing prerecorded shows.
A) share GBPVR's recordings directory as network share and connect from other computer. When recordings are done with "medium" quality, also 802.11b is enough to view smoothly. Must use external player and also third party mpeg2 decoder on remote computer. Works, but is uncomfortable to use, also no metadata available.
B) use VLC client! (www.videolan.org). Install HTTP server to GBPVR machine. Doesn't matter is it Apache (http://httpd.apache.org/download.cgi[/url]) or MS IIS or sth else (but first one is my preference), then also php ([url=http://www.php.net/]www.php.net). Then define ODBC source on GBPVR computer to point to GBPVR database. The next step is to create a php script to lure recordings metadata from GBPVR MDB file. The example will be found from http://aspn.activestate.com/ASPN/Cookboo...ipe/163447. Include into this script also auto exec of vlc to start broadcasting clicked show using multicast on server machine. Link this script to web servers index and create appropriate design of the table, so every time you turn to web server, it automatically generates info for latest recordings and after a click starts broadcasting. Now register file type on client machine and include into php script to call vlc on client machine to listen to multicast network. I won't publish exact code/script as this is too much currently hardcoded into and also is still too raw to show to public. But I could assure that I have done it and this works and also dot 11 wifi is enough to play shows smoothly.
"Native" (windows only) GBPVR network client:
Presumption is that you have GBPVR machine up and running correctly. Now the following steps must be done to use GBPVR as networked:
*) Change recordings directory to UNC path. You can't do it from Config app, but directly from config.xml (search for: RecordingsDirectory). For example to: \\192.168.0.102\d$\PVR\TV. NB! All previous recordings will be "hidden" from Recordings menu, but they will not be deleted. Backup gbpvr.mdb before it and replace in recordings table for example D:\PVR\TV to UNC then recordings won't dissapear.
*) Install GBPVR to "client" machine, but don't run it! In config.xml replace recordings directory to UNC path as mentioned above. Search for RecordingServiceLocation from config.xml and replace localhost to ip of the GBPVR "server" machine.
And voilà ! You could use GBPVR from as many networked computers simultanously as you want! TV schedule works, Recordings viewing works and also new recordings scheduling using remote clients works! Also, if using only time-shift mode (not live preview) also Live-TV works! And also, for only one client 802.11b is enough to feed one client smoothly (more simultaneous clients will need 802.11g or pre802.11n).
PS. Who is the administrator of the Wiki?! Would be nice to put it also in wiki.
Liivo.
It has been a while when I last did something for the community, but now I'd like to contribute with couple of thoughts and one howto. Following is solely my own opinion and represent my personal experience.
Cross-platform networked viewing of GB-PVR recordings:
NB! This is for viewing only, recording must be done via GBPVR web interface! There are couple of ways viewing prerecorded shows.
A) share GBPVR's recordings directory as network share and connect from other computer. When recordings are done with "medium" quality, also 802.11b is enough to view smoothly. Must use external player and also third party mpeg2 decoder on remote computer. Works, but is uncomfortable to use, also no metadata available.
B) use VLC client! (www.videolan.org). Install HTTP server to GBPVR machine. Doesn't matter is it Apache (http://httpd.apache.org/download.cgi[/url]) or MS IIS or sth else (but first one is my preference), then also php ([url=http://www.php.net/]www.php.net). Then define ODBC source on GBPVR computer to point to GBPVR database. The next step is to create a php script to lure recordings metadata from GBPVR MDB file. The example will be found from http://aspn.activestate.com/ASPN/Cookboo...ipe/163447. Include into this script also auto exec of vlc to start broadcasting clicked show using multicast on server machine. Link this script to web servers index and create appropriate design of the table, so every time you turn to web server, it automatically generates info for latest recordings and after a click starts broadcasting. Now register file type on client machine and include into php script to call vlc on client machine to listen to multicast network. I won't publish exact code/script as this is too much currently hardcoded into and also is still too raw to show to public. But I could assure that I have done it and this works and also dot 11 wifi is enough to play shows smoothly.
"Native" (windows only) GBPVR network client:
Presumption is that you have GBPVR machine up and running correctly. Now the following steps must be done to use GBPVR as networked:
*) Change recordings directory to UNC path. You can't do it from Config app, but directly from config.xml (search for: RecordingsDirectory). For example to: \\192.168.0.102\d$\PVR\TV. NB! All previous recordings will be "hidden" from Recordings menu, but they will not be deleted. Backup gbpvr.mdb before it and replace in recordings table for example D:\PVR\TV to UNC then recordings won't dissapear.
*) Install GBPVR to "client" machine, but don't run it! In config.xml replace recordings directory to UNC path as mentioned above. Search for RecordingServiceLocation from config.xml and replace localhost to ip of the GBPVR "server" machine.
And voilà ! You could use GBPVR from as many networked computers simultanously as you want! TV schedule works, Recordings viewing works and also new recordings scheduling using remote clients works! Also, if using only time-shift mode (not live preview) also Live-TV works! And also, for only one client 802.11b is enough to feed one client smoothly (more simultaneous clients will need 802.11g or pre802.11n).
PS. Who is the administrator of the Wiki?! Would be nice to put it also in wiki.
Liivo.