[mythtv-users] Is SeriesID field of program used for anything?

Michael T. Dean mtdean at thirdcontact.com
Tue May 22 15:32:32 UTC 2012


On 05/22/2012 08:16 AM, Xander Victory wrote:
>
>> The seriesid is automatically generated using an ELF hash of the 
>> title when importing XMLTV data.  It must be a unique value for a 
>> given title, or--if possible--unique for a given series.
> This is my current situation - the guide data (Australian Freeview) 
> supplies a series CRID (much the same as the UK), my grabber sends 
> this to mythtv in the xml, mythfilfilldatabase uses it with the patch 
> i made for it. (I'm still on 0.24 btw)
>
>>
>> Note that it's generally not used for scheduling
> This is mainly what I wanted to know; does ANYTHING else use the value?
>
>> Note that seriesid is not used for duplicate matching.  Instead 
>> programid is used.  See  http://www.mythtv.org/wiki/Duplicate_matching
> Sorry if I confused, I know that programid is used for that.
>
> Currently, if NO season/episode info is available (and it's not a 
> movie), my grabber outputs <episode-num 
> system="dd_progid">crid://whatever_network_said</episode-num> - thus 
> removing to issue of them having none generated by mythfilldatabase
> Conversely if there IS season/episode info that it finds and outputs, 
> the dd_progid element is left out, leaving mythfilldatabase to 
> generate the hashed one.
>
> The patch I referenced enables mythtv to extend recording time based 
> on the current/following info in EIT.
> It works well enough as is, however it must fall back to title 
> (without subtitle) matching for episodes with season/episode info (and 
> therefore a mythfilldatabase generated programid). This means that 
> e.g. with double episodes of The Simpsons, the first episode's 
> recording keeps recording until the 2nd ends; THIS is what I want to fix.
>
> I want to know if it is safe for me to change the seriesID that 
> programs get from "crid://network/networks_series_id" to 
> "crid://network/networks_series_id/networks_program_id" so that the 
> EIT current/following patch always has both IDs to work with.

OK, it sounds like you need the more-detailed answer than the "generally 
not used" I mentioned before.  With 0.25+, seriesid may be used in 
non-custom recording rules, as explained at 
https://github.com/MythTV/mythtv/commit/02f646ac .  (And thanks to David 
Engel for looking up the commit.)

So, changing seriesid to have different values for different showings of 
the same series would actually break things for some users.

Can you use programid directly, rather than embedding it in the 
seriesid, to tell the 2 episodes apart?

Mike


More information about the mythtv-users mailing list