[mythtvnz] tv_grab_nz-py and MythTV 0.20.2

Hadley Rich mythtvnz@lists.linuxnut.co.nz
Tue, 11 Sep 2007 08:52:27 +1200


On Mon, 10 Sep 2007 23:55:24 Steven Ellis wrote:
> Just been having some epg grabber issues due to the way mythfilldatabase
> now works
>
> Hadley - How do you cope with the fact that mythfilldatabase now calls
> the xmltv script for each day it wants data. Do you cache the file so it
> only gets downloaded the once?

You need to support the XLMTV capabilities option. If you show allatonce when 
called with --preferredmethod then mythfilldatabase will only call the 
grabber once and use as much data is as given.

Unfortunately mythfilldatabase still calls the grabber once for each input 
that is configured. I did implement the cache option which is in the XMLTV 
specs but it doesn't appear that myth (or any of the other XMLTV grabbers) 
support it :) I've thought about doing some internal caching to get around 
this but it hasn't been high on my priority list lately.

hads

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