Statistics
| Branch: | Tag: | Revision:

dvbd / dvbdguide @ a21c1615

Name Size Revision Age Author Comment
.cvsignore 21 Bytes 3f54700c over 17 years jak working on DVB-C support
Makefile.am 74 Bytes cd94270a over 17 years jak dvb-s support version 0.7.1
README.dvbdguide 2.83 KB 2b40557f over 17 years jak dvbdguide
favourites.xml 440 Bytes 4e104f20 over 17 years jak dvbdguide
tv.cgi 9.4 KB a21c1615 about 17 years jak More flexible channel lookup
tv.css 1.38 KB 19351b69 over 17 years jak updated website
tv.xsl 6.58 KB 4e104f20 over 17 years jak dvbdguide

Latest revisions

# Date Author Comment
a21c1615 08/21/2004 03:09 PM jak

More flexible channel lookup

19351b69 04/25/2004 08:59 AM jak

updated website

3f54700c 04/17/2004 06:57 PM jak

working on DVB-C support

cd94270a 02/17/2004 10:59 PM jak

dvb-s support version 0.7.1

2b40557f 02/12/2004 08:48 PM jak

dvbdguide

4e104f20 02/12/2004 08:35 PM jak

dvbdguide

View revisions

README


dvbdguide (jak@users.sourceforge.net) 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 ----8<---- 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. Edit ~/public_html/tv.cgi: $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 to jak@users.sourceforge.net TROUBLESHOOTING --------------- 1. If the page comes up blank, check that the listings.0.xml files are present and correct. ACKNOWLEDGEMENTS ---------------- This code is based off tv-control by xmltvcntl@SlashHomeSlashAdrian.fsnet.co.uk

Also available in: Atom