|.cvsignore||21 Bytes||3f54700c||over 17 years||jak||working on DVB-C support|
|Makefile.am||74 Bytes||cd94270a||almost 18 years||jak||dvb-s support version 0.7.1|
|README.dvbdguide||2.83 KB||2b40557f||almost 18 years||jak||dvbdguide|
|favourites.xml||440 Bytes||4e104f20||almost 18 years||jak||dvbdguide|
|tv.cgi||9.4 KB||26cb9f7c||over 16 years||jak||ITV1 instead of ITV 1 ITV2 instead of ITV 2 Imp...|
|tv.css||1.38 KB||19351b69||over 17 years||jak||updated website|
|tv.xsl||6.58 KB||4e104f20||almost 18 years||jak||dvbdguide|
dvbdguide (email@example.com) Installing the TV Guide CGI script ---------------------------------- Prerequisites: xsltproc - http://www.xmlsoft.org/ perl - http://www.perl.com apache - http://www.apache.org/ or other webserver supporting CGI dvbd - http://dvbd.sourceforge.net/ Debian users: apt-get install perl xsltproc xmltv dpkg -i dvbd*.deb 1. This program is written to more easily schedule programs with dvbd. Make sure that the utility programs dvblist and dvbsched are in your path since they are invoked by tv.cgi script. 2. The TV Guide is based on an XMLTV compatible data source. You need to ensure that the listings for today are in a file called listings.0.xml. Listings for tomorrow (if you have them should be in listings.1.xml, the day after in listings.2.xml and so on). I use bleb2xmltv (http://www.doc.ic.ac.uk/~jak97/bleb/bleb2xmltv.tar.bz2) for basic UK listings, although the RadioTimes grabber should work well too. Since bleb2xmltv automatically rotates it's listings files making symbolic links to the /var/cache/bleb is good enough: listings.0.xml -> /var/cache/bleb/listings.0.xml listings.1.xml -> /var/cache/bleb/listings.1.xml ... 3. If you are using Apache, make sure that Apache has user directories and CGI enabled. For Apache2 make sure that the following is in your /etc/apache2/apache2.conf. NB ExecCGI option. ----8<---- UserDir public_html
AllowOverride FileInfo AuthConfig Limit
Options Indexes SymLinksIfOwnerMatch ExecCGI
3. Make a ~/public_html directory
4. Copy the tv.cgi tv.xsl tv.css to ~/public_html
cp tv.cgi tv.xsl tv.css ~/public_html
5. Make sure that listings.xml for today's TV listings is
present in ~/public_html
6. Make a recordings directory somewhere on your computer.
$recordingPath = "/home/jak/recordings";
to point to a directory that you want to record to.
NB: the directory should be owned by you, but in the
dvdb group, user and group writable.
7. Add any xmltv id to DVB id mappings in ~/public_html/tv.cgi
I have added the ones for the channels I watch on UK freeview.
8. Assuming that dvbd is properly configured and running,
open the web browser at http://yourhost/~youruser/tv.cgi
Hopefully all should work!
9. If you have different favourite programs to me, edit
~/public_html/favourites.xml as appropriate.
10. Please send comments, suggestions, patches and contributions
1. If the page comes up blank, check that the listings.0.xml files are
present and correct.
This code is based off tv-control by
Also available in: Atom