[mythtv] extremly slow mythfilldatabase in 0.28

Torbjorn Jansson torbjorn.jansson at mbox200.swipnet.se
Mon Jul 18 07:10:17 UTC 2016

On 2016-07-17 23:11, Jonatan Lindblad wrote:
> Den 2016-07-17 kl. 19:08, skrev Torbjorn Jansson:
>> On 2016-07-17 13:57, Roger Siddons wrote:
> <snip>
>>> The metagrabber shouldn't be run at all by MFD (AFAIK). Add the "-v
>>> system" log option to confirm it isn't being invoked.
>> looks like it is doing just that.
> The invocation of ttvdb.py seems to come from
> https://code.mythtv.org/trac/browser/mythtv/mythtv/programs/mythfilldatabase/xmltvparser.cpp#L530.
> I'm not sure this was taken into account in b64be0f8, but calling the
> script(s) for potentially every program seems a bit unnecessary.
> Unclear if this is the cause for long runtime though.
> Jonatan

you might be on to something.

if i check the xml files that the grabber downloads, for example:
the <episonde-num> tag have a thetvdb.com entry.
not sure how long this have existed but it is something that have been 
added and didn't exist from day 1.

perhaps i can just temporarily rename the py file and see what happens.
hopefully it will give up much quicker.

More information about the mythtv-dev mailing list