[myth-ie] new entertainment.ie grabber
Brendan Kehoe
brendan at zen.org
Sat Jan 12 07:13:01 CST 2008
I put up at
http://www.zen.org/~brendan/entie-grabber-v0.4.tar.gz
a new version of the grabber for entertainment.ie listings. This one
will now use the list of channels in a configuration file as the basis
for what channels to actually grab. If you omit the --config-file
argument, it'll use the (original) behaviour of getting a full listing
for each day and using info for all the channels.
It only goes for 7 days' listings; they had been working for 10 days,
but for whatever reason it's reduced back down to one week. (Perhaps it
was extra over the holidays when they weren't working?)
Invoke it with something like either
perl tv_grab_ie_entie --config-file tv_grab_ie_entie.conf --out t-ie
mythfilldatabase --file 1 -1 ./t-ie
or
perl tv_grab_ie_entie --out t-ie
mythfilldatabase --file 1 -1 ./t-ie
to get the stuff injected. Or even just either
perl tv_grab_ie_entie --config-file tv_grab_ie_entie.conf |
mythfilldatabase --file 1 -1 -
or
perl tv_grab_ie_entie | mythfilldatabase --file 1 -1 -
to make mythfilldatabase take it on stdin. (Handy for a cron job.)
The two sample config files are
tv_grab_ie_entie.conf --- only grabs channel6.ie
tv_grab_ie_entie-all.conf --- a list of all of the channels they
currently make available
This grabber looks for 'entie-channel_ids' in the current directory; it
needs a further tweak to look in the directory of the script itself or
some other place like '/usr/share/xmltv/tv_grab_ie_entie/channel_ids' ?
B
More information about the MythTV-Ireland
mailing list