[mythtvnz] Simple Script For Pulling EPG into MythTV
Robin Gilks
g8ecj at gilks.org
Fri Sep 23 12:35:16 BST 2011
> OK.
>
> Runnng 'mythfilldatabase -v -xmltv' (after running the tv_grab_nz-py
> script) errors:
> 2011-09-23 21:04:32.030 FillData, Error: xmltv returned error code 512
> 2011-09-23 21:04:32.064 Error in 1:1: unexpected end of file
>
> Running mythtv-setup, I set the nz-py script as the grabber, set
> mthdatabasefill's arguments to xmlv then hit 'configure'. THe terminal
> mythtv-setup is running in shows:
> 2011-09-23 19:48:19.294 XMLTVConfig::Load: Running 'tv_find_grabbers
> baseline'.
> 2011-09-23 19:48:19.925 XMLTVConfig::Load: Finished running
> tv_find_grabbers
>
> ...and it just hangs there.
>
You need to run tv_grab_nz-py --configure in a terminal and answer all the
questions it asks you to create its configuration file. Its not hanging,
its waiting for an answer from the keyboard but it doesn't have a terminal
(tty) attached to get that input!
mythfilldatabase should (will when correctly configured) call
tv_grab_nz-py with all the correct parameters for each of your 'sources'.
The file that tv_grab_nz-py downloads is filtered by the configuration
info you created (above) and passed into mfdb.
The config file should look something like this (this particular 'source'
is called DVBT):
$ cat /home/mythtv/.mythtv/DVBT.xmltv
channel=prime.freeviewnz.tv
channel=tv1.freeviewnz.tv
channel=tv2.freeviewnz.tv
channel=tv3.freeviewnz.tv
channel=tv3-plus1.freeviewnz.tv
channel=c4.freeviewnz.tv
channel=four.freeviewnz.tv
channel=maori-tv.freeviewnz.tv
channel!cue.freeviewnz.tv
channel=parliament.freeviewnz.tv
channel=sportextra.freeviewnz.tv
channel!stratos.freeviewnz.tv
channel=u.freeviewnz.tv
channel=tvnz7.freeviewnz.tv
channel!te-reo.freeviewnz.tv
channel=ctv8.freeviewnz.tv
channel=tvcentral.freeviewnz.tv
Hope that helps
--
Robin Gilks
More information about the mythtvnz
mailing list