HK MUG

From MythTV

Jump to: navigation, search

HK MythTV User Group


TV schedules

There isn't a native xmltv grabber for HK. Nor is there a linux program that does it. However there is a schedule grabber called TVxb that can do it. http://www.tvxb.com

TVxb is a windows program but can be run in linux through wine. To use it, grab the apropriate INI file from the website then:

wine TVxb.exe -NoConsole

mythfilldatabase --file 1 -1 /path/to/output.xml

Other options: (using php + cron) 1. Download all file from http://www.akbkhome.com/svn/akpear/XML_Tv/

    (Tv.php, hongkong.ini, newatv.ini, newatvhome.ini, newtvb.ini) and copy it into same folder

2. make script called filltv

    #!/bin/sh
    /usr/bin/php Tv.php hongkong.ini > /tmp/hongkong.xml
    /usr/bin/mythfilldatabase --file 1 1 /tmp/hongkong.xml

3. If using mythTV version 0.21, please change last script to

    /usr/bin/mythfilldatabase --file 1 /tmp/hongkong.xml

4. Make script executable

    > chmod +x filltv

5. Make a weekly cronjob { i.e. copy it into /etc/cron.weekly/filltv }


For a complete tutorial on how to set up TVxb with MythTV, go here: TVxb

Personal tools