Sproglet / oversight

Oversight Jukebox for Popcorn Hour 1 and 2 series. Original code by Lordy.
1 stars 0 forks source link

Strange scan order when scanning tv series with a single imdb nfo #539

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Two main errors:

IMDB is re-queried.

The tvdb lookup by imdb is performed and then ignored, and a 'manual' search is 
carried out for the imdb id ?

Star Trek Enterprise.S1E01-Broken Bow Part 1.nfo
http://www.imdb.com/title/tt0244365/
Enterprise

Star Trek Enterprise.S1E01-Broken Bow Part 1.avi
Star Trek Enterprise.S1E02-Broken Bow Part 2.avi
...
Star Trek Enterprise.S1E26-Shockwave Part 1.avi
Star Trek Enterprise.S2E01-Shockwave Part 2.avi
...
Star Trek Enterprise.S2E26-The Expanse.avi

I get all the episodes under season 1

Have not had more crashes..

also sending log of scanning Arrested Developement.  It clearly shows that the 
nfo is only used for the S1E1 file for the rest it does not remember the imdb 
link and it does a search in thetvdb, this may lead to inconsistent results 
some times...

[DEBUG]    01:28:26 : 
            fetchXML[http://www.thetvdb.com/api/GetSeriesByRemoteID?imdbid=tt0367279] = 
16
[INFO]     01:28:26 :           imdb2thetvdb tt0367279 = 72173
[INFO]     01:28:26 :           Deleting 
'/share/Apps/oversight/tmp/8779/catalog.8779.8__imdb2tvdb.tmp.gz'
[INFO]     01:28:26 :           WGET 
['http://www.thetvdb.com//api/GetSeries.php?seriesname=Arrested+Development'] 
cmd=wget -O '/share/Apps/oversight/tmp/8779/catalog.8779.8__imdb2tvdb.tmp.gz'  
-U "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 
Firefox/0.8.0+" -T 31 -t 2 -w 2 -q --no-check-certificate --ignore-length  
--referer="http://www.thetvdb.com/"  --header="Accept-Encoding: gzip"  -c  
'http://www.thetvdb.com//api/GetSeries.php?seriesname=Arrested+Development'
[INFO]     01:28:27 :           WGET done
[INFO]     01:28:27 :           >Begin readXML
[INFO]     01:28:27 :               0Encoding:utf-8
[INFO]     01:28:27 :           <End readXML=[=[16]]

Following should NOT happen ....

[DEBUG]    01:28:27 : 
            fetchXML[http://www.thetvdb.com//api/GetSeries.php?seriesname=Arrested 
Development] = 16
[INFO]     01:28:27 :           >Begin find_elements[/Data/Series]
[DEBUG]    01:28:27 :               filter [/FirstAired]=[~:^(2002|2003|2004)-]
[DEBUG]    01:28:27 :               filter [/SeriesName]=[~:^Arrested[.?!]? 
Development[.?!]?(| \([a-z0-9]\))$]
[DEBUG]    01:28:27 :                 numbers:<empty>
[DEBUG]    01:28:27 :                 strings:<empty>
[DEBUG]    01:28:27 :                regexs:/FirstAired=[^(2002|2003|2004)-]
[DEBUG]    01:28:27 :                regexs:/SeriesName=[^arrested[.?!]? 
development[.?!]?(| \([a-z0-9]\))$]
[DEBUG]    01:28:27 :               Filter matched [/Data/Series]
[INFO]     01:28:27 :           <End find_elements[/Data/Series]=[=[1]]
[INFO]     01:28:27 :           Looking at tvdb Arrested Development
[DEBUG]    01:28:27 :           imdb id tt0367279 =>  thetvdb[72173]
[DEBUG]    01:28:27 :           locale[en_GB]
[INFO]     01:28:27 :           >Begin 
get_tv_series_info(thetvdb,http://www.thetvdb.com/data/series/72173/en.xml)

Original issue reported on code.google.com by lordylo...@gmail.com on 5 Jan 2011 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by lordylo...@gmail.com on 5 Jan 2011 at 4:12