Download & Installation of jxmltv
This page: http://users.skynet.be/jxmltv/ is the home page of the developper. Unfortunatelly, this application is not opensource. But I have installed it on my system, and am able to grab belgian french tv guide content, and use it inside freevo 1.7.2.
To install it, just download the last package, and look inside README.txt (chapter 2).
What is not written inside this README, is the way to install and automate the process of grabbing the tv guide info.
I have installed the files in /usr/share/jxmltv, and wrote a little script: updatebe.tlm
Here is its content:
cd /usr/share/jxmltv java -jar jxmltv.jar be.tlm
This script refresh the xml file that I had configured to be put in /var/jxmltv/TV.xml.
== Freevo configuratino == # ====================================================================== # XMLTV Configuration # ====================================================================== # This is the XMLTV file that can be optionally used for TV listings # XMLTV_FILE = "/var/jxmltv/TV.xml" # XMLTV_GRABBER = '/home/kiwi/bin/tv_grab_fr_tnt' XMLTV_SORT = '/usr/bin/tv_sort' XMLTV_DAYS = 3
Note that XMLTV_GRABBER is not defined, because the grabbing process will not be made by freevo, but by a cron process.
Here is the crontab configuration (not run as root):
$ crontab -l # m h dom mon dow command 0 0 * * * /usr/share/jxmltv/updatebe.tlm > /dev/null
Nota Bene
I prefer to grab the TV.xml content outside of freevo. Do not forget to make this to have freevo uptodate with the new TV.xml file produced by jxmltv.
# freevo tv_grab --query # freevo cache