<p dir="ltr"><br>
On Jan 24, 2016 7:58 AM, "Brian J. Murrell" <<a href="mailto:brian@interlinx.bc.ca">brian@interlinx.bc.ca</a>> wrote:<br>
><br>
> On Sun, 2016-01-24 at 06:11 +0100, Hika van den Hoven wrote:<br>
> > Hoi Brian,<br>
> ><br>
> > Sunday, January 24, 2016, 5:37:47 AM, you wrote:<br>
> ><br>
> > > I have a number of shows where the episodes have inconsistent<br>
> > > inetrefs.<br>
> > >  i.e.:<br>
> ><br>
> > > Criminal Minds  True Genius     2012-01-24 02:00:00     <br>
> > > Criminal Minds  Unknown Subject 2012-01-26 02:00:00     <br>
> > > Criminal Minds  Closing Time    2012-02-16 02:00:00     75710<br>
> > > Criminal Minds  A Family Affair 2012-03-01 02:00:00     75710<br>
> > > Criminal Minds  I Love You, Tommy Brown 2012-03-20<br>
> > > 01:00:00     75710<br>
> > > Criminal Minds  The Itch        2014-10-23<br>
> > > 01:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Boxed In        2014-10-30<br>
> > > 01:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  If the Shoe Fits        2014-11-06<br>
> > > 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Hashtag 2014-11-13 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  The Boys of Sudworth Place      2014-11-20 02:00:00<br>
> > > ttvdb.py_75710<br>
> > > Criminal Minds  Fate    2014-11-27 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Amelia Porter   2014-12-11<br>
> > > 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  The Forever People      2015-01-15<br>
> > > 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Anonymous       2015-01-22<br>
> > > 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Scream  2015-02-12 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Lockdown        2015-03-05<br>
> > > 02:00:00     ttvdb.py_75710<br>
> > > Criminal Minds  Breath Play     2015-03-12 01:00:00     <br>
> > > Criminal Minds  Rock Creek Park 2015-03-26<br>
> > > 01:00:00     ttvdb.py_75710<br>
> > > Criminal Minds          2015-04-06 05:04:00     tmdb3.py_15714<br>
> > > Criminal Minds  Beyond Borders  2015-04-09<br>
> > > 01:00:00     ttvdb.py_75710<br>
> ><br>
> > > As you can see for that one show, I have inetrefs of 75710,<br>
> > > ttvdb.py_75710 and tmdb3.py_15714<br>
> ><br>
> > > Is this expected?<br>
> ><br>
> > > Cheers,<br>
> > > b.<br>
> ><br>
> > The one jumping to tmdb3.py is probably because of missing episode<br>
> > info!<br>
><br>
> Yes.  That episode has the generic show data.  But that doesn't explain<br>
> how it got a TMDB ID of 15714.  According to my (next to zero)<br>
> knowledge of TMDB, 15714 is "Seaside Special" (<a href="https://www.themoviedb.o">https://www.themoviedb.o</a><br>
> rg/tv/15714).<br>
><br>
> But even that only answers half of the question.  Of the remaining<br>
> entries why are some 75710 and others ttvdb.py_75710?  Given that the<br>
> difference correlates to time, it seems that the format of the field<br>
> was changed to include which scraper the ID is for.<br>
><br>
> But then why didn't the database migration for whichever version that<br>
> introduced that change update the existing inetrefs rather than leaving<br>
> them inconsistent like this?<br>
><br>
> >  I don't know the precise algorithm to determine which to use,<br>
> > but that is part of it.<br>
><br>
> If I had to guess it's based on an ordered list and the first one to<br>
> return info wins.  ttvdb is probably higher in the list than tmdb3.<br>
><br></p>
<p dir="ltr">Interesting.  I think my post on X-rated fanart is related to this.</p>
<p dir="ltr">Jeremy<br>
</p>