[mythtv] [mythtv-commits] Ticket #10747: [PATCH] Autogenerate originalairdate for new episode repeats
Michael T. Dean
mtdean at thirdcontact.com
Sun Oct 21 19:47:25 UTC 2012
On 10/20/2012 12:21 AM, Bradley Baetz wrote:
> (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.
>
Then if you don't have programid (nor season nor episode number, which
make it possible to generate programid), there's no way to know they're
the same episode. Without programid (the definitive identifier of which
episode is airing), we must fall back to the
user-specified-per-recording-rule duplicate matching (subtitle +
description, subtitle only, subtitle then description, ...) to identify
whether 2 episodes are the same. Therefore, I'd suggest that you need
to fix the remaining issue in your recording rule (likely with a custom
rule).
Mike
More information about the mythtv-dev
mailing list