I've decided to get on the Roku/Netflix bandwagon and found a simple way of using it as a GBPVR frontend too. The script should work for both GBPVR & NPVR. I'm hoping it will help someone enjoy their Roku even more!
*** NOTE: the attached file contains a bundle of my latest setup with brief instructions ***
first follow the instructions here, setup apache and prepare to load the application onto the Roku: http://www.mythtv.org/wiki/ROKU_HD_Frontend
next set up perl and copy roku.pl & RokuSettings.pm into the cgi-bin folder of the apache (see attached zip file). Update RokuSettings.pm with your DB path & version.
enable apache to execute scripts in the httpd.conf:
create an alias for your DVR directory in apache:
for multiple ROKU boxes you need to install the h264_streaming_module in apache to allow multiple streams:
in the mime section add:
if you want subtitles and BIF ("trick") files then update file mythtv.brs from roku.zip in function GetEpisodeDetail like this:
finally update the config.brs in the roku.zip to point to your apache/gbpvr server:
update the roku.zip archive from the above wiki page with this config file, load the application onto the Roku and make sure you have appropriate mp4 files to play.
set up a scheduled task with makebifsub.bat (edit for the correct paths). this will make the bif index files which allow forward/rewind.
if no files are found make sure you have apache (httpd) running and you set up a firewall exception on port 80 for your LAN only like this: 192.168.0.0/255.255.0.0 and test it from another PC on your network (if available)
Enjoy!
*** NOTE: the attached file contains a bundle of my latest setup with brief instructions ***
first follow the instructions here, setup apache and prepare to load the application onto the Roku: http://www.mythtv.org/wiki/ROKU_HD_Frontend
next set up perl and copy roku.pl & RokuSettings.pm into the cgi-bin folder of the apache (see attached zip file). Update RokuSettings.pm with your DB path & version.
enable apache to execute scripts in the httpd.conf:
Quote:Options Indexes FollowSymLinks ExecCGI
create an alias for your DVR directory in apache:
Quote:Alias /dvr "O:/temp/dvr"
<Directory "O:/temp/dvr">
Options All
AllowOverride Options
Order allow,deny
Allow from all
</Directory>
for multiple ROKU boxes you need to install the h264_streaming_module in apache to allow multiple streams:
Quote:LoadModule h264_streaming_module modules/mod_h264_streaming.so
in the mime section add:
Quote: AddHandler h264-streaming.extensions .mp4
if you want subtitles and BIF ("trick") files then update file mythtv.brs from roku.zip in function GetEpisodeDetail like this:
Quote: item.StreamFormat = "mp4"
item.SubtitleUrl = records[0]@srt_url
item.HDBifUrl = records[0]@bif_hd_url
item.SDBifUrl = records[0]@bif_sd_url
item.IsHD = true
finally update the config.brs in the roku.zip to point to your apache/gbpvr server:
Quote:Function GetScriptURL() As String
return "http://192.168.x.x/cgi-bin/roku.pl"
End Function
update the roku.zip archive from the above wiki page with this config file, load the application onto the Roku and make sure you have appropriate mp4 files to play.
set up a scheduled task with makebifsub.bat (edit for the correct paths). this will make the bif index files which allow forward/rewind.
if no files are found make sure you have apache (httpd) running and you set up a firewall exception on port 80 for your LAN only like this: 192.168.0.0/255.255.0.0 and test it from another PC on your network (if available)
Enjoy!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD