[mythtv] [mythtv-commits] Ticket #10747: [PATCH] Autogenerate originalairdate for new episode repeats

Bradley Baetz bbaetz at gmail.com
Sat Oct 20 04:21:05 UTC 2012


(I'm not on the list; replying via reading the web archives)

> Note, also, that mythfilldatabase will always autogenerate a programid
> from XMLTV data when safe to do so (when we have season and episode
> information).  So, if Shepherd must stuff data directly into our
> database instead of using mythfilldatabase like everyone else, perhaps
> it should be fixed to do proper programid generation, like our XMLTV
> code, instead of adding a hack in here to work around Shepherd's
> shortcomings?

> https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfilldatabase/xmltvparser.cpp#L525

Shepherd doesn't stick anything directly into the db - it has a
tv_grab_au script that mythfilldatabase calls. But the metadata it has
access to doesn't have episode/season information, so there's not
anything able to be used to generate an episode id. Basically, all it
can rely on is title, subtitle (often), and (sometimes) a description.

Bradley


More information about the mythtv-dev mailing list