[mythtvnz] tv_grab_nz-py and MythTV 0.20.2

Hadley Rich mythtvnz@lists.linuxnut.co.nz
Tue, 4 Sep 2007 16:52:45 +1200


On Tuesday 04 September 2007 12:49:59 Robin Gilks wrote:
> Is there a howto somewhere that would wean me off the raw channel IDs and
> make use of the new script?

Unfortunately not.

> What I'd like to do is: 
>
>  * mysql script to change the channel ID based xmltvid's  to named ones

http://epg.pvr.geek.nz/epg/update-xmltvids.py would be a good starting point. 
ou'll need the channels.conf from there too from memory.

>  * grab the epg using my skystar2 card

You'll need to use either tv_grab_dvb or epgsnoop for this, if you want to use 
the new xmltvids then you'll need to use the unreleased version of epgsnoop.

>  * import it using either mythfilldatabase directly or tv_grab_nz-py
> (whatever the difference is)

tv_grab_nz-py is just an XMLTV compliant grabber. Now that mythfilldatabase 
can use any XMLTV compliant grabber in the PATH instead of just a list of 
hard coded ones then people like us get to use mythfilldatabase how it was 
meant to be used (i.e. not the --file option).

Because tv_grab_nz-py is a grabber and is setup to fetch the listings from a 
web server if you want to run epgsnoop yourself the easiest way would be to 
run it and dump the listings data file to a local webserver. Then just adjust 
the tv_grab_nz-py script to fetch it's listings from there.

I've thought about a version of epgsnoop that acts like an XMLTV compliant 
grabber but I've got enough half finished things at the moment.

>  * some clues on how to filter out the Sports Extra epg from freeview and
> import just that one channel

I haven't got that far yet, real work has been keeping me away from doing 
other fun stuff.

hads

-- 
http://nicegear.co.nz
New Zealand's VoIP supplier