Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
User Journal

Journal gwyrdd benyw's Journal: Tivo Log: part 5

SECTION 5 Moving the slices to the TiVo

Until I get the PPP link working (and/or the Turbonet card arrives), all I can do is set up the emulator on the server side.

SECTION 5.2 Using the TiVo emulator
SECTION 5.2.1 Configure Apache Web Server

Apache is already running on my system. However, I did need to tweak httpd.conf a bit to get CGIs to run properly (but this is something I should have done long ago, anyway).

SECTION 5.2.2 Install TiVo Service Emulator Files

% mkdir ~tivo/emulator
% cd ~tivo/emulator
% mkdir tivo-service
% mkdir static
% mkdir static/listings
% mkdir static/Headend
% cd ~tivo/tivo_canada_cvs_files/n4zmz-emu
% cp * ~/emulator
% cd ~/emulator
% mv *{cgi,pm} tivo-service/
% chgrp -R www .
% chmod g+w ~tivo/emulator
% vi ~tivo/emulator/tivo-service/.htaccess

AddType text/x-server-parsed-html .html
AddType application/x-httpd-cgi .cgi
Options FollowSymLinks ExecCGI Includes Indexes
IndexOptions FancyIndexing ScanHTMLTitles

Add this to httpd.conf:

Alias /tivo-service "/Users/tivo/emulator/tivo-service"
Alias /static "/Users/tivo/emulator/static"
<Directory "/Users/tivo/emulator/tivo-service">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

SECTION 5.2.3 Configure TiVo Service Emulator

/usr/bin/perl and /usr/local/bin/perl point to the same binary on my system, so no corrections are needed.

SECTION 5.2.3.1 Service Emulator Configuration File

Bugs:
guide is missing "urlheaddir" and "headenddir" in the example.
explanation is missing "statuslog", "useupload"
explanation is unclear for "guidedir"
explanation does not match that given in readme-djb.txt
install.PL: fix lan.com URLs

[config]
urlbase=http://192.168.1.100:80/
urlslicedir=static/listings/
slicedir=/Documents/Web\ Pages/Documents/static/listings/
urlheaddir=static/Headend/
headenddir=/Documents/Web\ Pages/Documents/static/Headend/
logfile=/Users/tivo/emulator/status.log
debug=1
downloadall=0
### May want to change these
ntpserver=209.244.0.5 209.244.0.6
verbose=1
keepdays=2
maxslicedays=1
# this should change to something else?
uploaddir=/tmp
# uploadlogs
# usemercury
# usekeyserver
# statuslog=/Documents/Web\ Pages/Documents/tivo-service/tivo.log
# useupload=0

##### get this from the System Info screen
[tcd_id]
0020000202CE591=3

[debug]
logfile=/Users/tivo/emulator/debug.log
# guide=none
guide=1,2,3,4,5,6

[slices]
days=7
offset=6
# This is the same as slidedir above
directory=/Users/tivo/emulator/static/listings/
country=na
useimdb=1
imdbdir=/Users/tivo/guidedir/imdb/
# we may want to change this to "parsexml"
guidetype=xmltv
# guidedir=/Users/tivo/guidedir/
guidedir=/Users/tivo/xmltv2tivo/
usegzip=1
headend=BC123176
group=www

SECTION 5.2.4 Test the TiVo Service Emulator

Now it's time to do a test call!

---------

SECTION 5 Moving the slices to the TiVo
SECTION 5.1 FTP slices to TiVo
SECTION 5.1.1 Add slice processing slices to TiVo
SECTION 5.1.2 Upload slices to TiVo
SECTION 5.1.2.1 Initinal TiVo setup
SECTION 5.1.2.2 Load guide slice

This discussion has been archived. No new comments can be posted.

Tivo Log: part 5

Comments Filter:

Intel CPUs are not defective, they just act that way. -- Henry Spencer

Working...