[mythtv-users] Duplicate detection

Hika van den Hoven hikavdh at gmail.com
Tue Sep 20 15:51:10 UTC 2016


Hoi Michael,

Tuesday, September 20, 2016, 5:38:45 PM, you wrote:

> On 09/20/2016 10:35 AM, Hika van den Hoven wrote:
>> Hoi Michael,
>>
>> Tuesday, September 20, 2016, 3:14:44 PM, you wrote:
>>
>>> BTW, if your program IDs are done correctly, this is not required (it's
>>> actually a bad thing).  If the program IDs specify an authority (i.e.
>>> they include a '/', making it an ID in the form "authority/ID"), the ID
>>> is only used for comparison against other programs with the same
>>> authority.  And, every listings source should use a different
>>> authority.  Please check to see if your IDs (when inserted into MythTV's
>>> database) contain an authority.  If not, I think they will if you have a
>>> default authority in dtv_multiplex (for EIT-using channels) and/or
>>> channel (for XMLTV-using channels). Just make sure the authority is
>>> different for each different source of program IDs (and same for each
>>> individual source of program IDs).
>> A question. My progids get generated by MythTV and they do not contain
>> such an autority. I'm wondering if that authority is derived from the
>> by the xmltv standard advised extension on xmltvids? I do not use
>> those extension but I could enable them.
>>

> Don't get me started on the auto-generated-by-mythfilldatabase "series
> IDs" and "program IDs" as they're not actually series/program IDs.  They
> assume that any show with a given title is the same show.  Therefore 
> Battlestar Galactica is the same as Battlestar Galactica and season 1,
> episode 1 is always season 1, episode 1, regardless of whether its 
> subtitle is "Saga of a Star World (1)" or "33":

> http://thetvdb.com/?tab=episode&seriesid=71173&seasonid=1786&id=37476&lid=7
> http://thetvdb.com/?tab=episode&seriesid=73545&seasonid=5951&id=117849&lid=7

> By definition, a series ID knows the difference between the 1978 and 
> 2003 series called Battlestar Galactica and a program ID (which contains
> the embedded series ID) would, therefore, also know the difference.  
> Therefore, (IMHO,) XMLTV users should only ever get a program ID when 
> the data specifies an episode-num element with the system attribute of
> dd_progid.

> IMHO the entire bit of code that auto-generates those program IDs should
> be removed.  If I were more active with MythTV coding right now, I'd 
> probably champion the removal of that code.  If anyone wants to create a
> patch (so someone else might consider it), it's not difficult to do.

> http://www.gossamer-threads.com/lists/mythtv/users/575087#575087
> (though, now, line 553).

> Mike
> _______________________________________________

Interesting, so what fieldname should I use in xmltv to supply a
seriesid or programid, as the xmltv.dtd does not define any?



Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list