annegerben / oversight

Automatically exported from code.google.com/p/oversight
0 stars 1 forks source link

[SCAN] Issues on titles with a number at the start #419

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Issue with previously working film (500) Days Of Summer (2009)

Tried renaming file and nfo but still resolves incorrectly.

filename: 500dos.720p.x264.mkv
nfo: 500dos.720p.x264.nfo

imdb: http://www.imdb.com/title/tt1022603/

What is the expected output? What do you see instead?
Should resolve to (500) Days Of Summer.
Now resolves to TV Series Darker than Black

Looks to me like it's using the foldername to assume it's a TV show rather than 
the imdb link in the nfo?
Folder name (created by previous catalog scan):(500) Days Of Summer (2009)

Original issue reported on code.google.com by losprog on 19 Jul 2010 at 12:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by lordylo...@gmail.com on 31 Jul 2010 at 6:34

GoogleCodeExporter commented 8 years ago
Unable to replicate. (see log below) Can you send scan log using latest version?
--
[INFO]     19:56:09 : [/share/Movies/(500) Days Of Summer (2009) - 
PG_13/500dos.720p.x264.mkv] not in db
[INFO]     19:56:09 : 
    ===
    Start item 0: [500dos.720p.x264.mkv]
    ===

[INFO]     19:56:09 : status:item 1
[DEBUG]    19:56:09 : folder :[/share/Movies/(500) Days Of Summer (2009) - 
PG_13]
[DEBUG]    19:56:09 : Using default info to find url
[INFO]     19:56:09 : scanNfoForImdbLink [/share/Movies/(500) Days Of Summer 
(2009) - PG_13/500dos.720p.x264.nfo]
[INFO]     19:56:09 : scanNfoForImdbLink = 
[http://www.imdb.com/title/tt1022603/]
[INFO]     19:56:09 :   === checkTvFilenameFormat THETVDB   ===
[INFO]     19:56:09 : >Begin checkTvFilenameFormat THETVDB
[DEBUG]    19:56:09 :   CHECK TV [500dos] vs [500dos.720p.x264.mkv]
[INFO]     19:56:09 :   >Begin extractEpisodeByPatternSingle:(500
[DEBUG]    19:56:09 :       ExtractEpisode:0 Title= [(500) days of summer (2009) - 
pg 13/500dos]
[DEBUG]    19:56:09 :       ExtractEpisode:1 Title= [(]
[DEBUG]    19:56:09 :       ExtractEpisode:2 Title= [(]
[DEBUG]    19:56:09 :       ExtractEpisode: Title= [(]
[DEBUG]    19:56:09 :       ExtractEpisode: Title= []
[DEBUG]    19:56:09 :       Episode : 00
[INFO]     19:56:09 :   <End extractEpisodeByPatternSingle:(500=[=[1]]
[INFO]     19:56:09 :   episodeExtract:[[^-0-9]] 
[([1-9]|2[1-9]|1[0-8]|[03-9][0-9])] [/?[0-9][0-9]]
[INFO]     19:56:09 :   >Begin extractEpisodeByPatterns: line[(500) days of 
summer (2009) - pg_13/500dos]
[DEBUG]    19:56:09 :        details:_ai=[Days Of Summer 2009 - Pg 13 500dos]
[DEBUG]    19:56:09 :        details:_e=[]
[DEBUG]    19:56:09 :        details:_s=[5]
[DEBUG]    19:56:09 :        details:_T=[]
[INFO]     19:56:09 :   <End extractEpisodeByPatterns: line[(500) days of summer 
(2009) - pg_13/500dos]=[=[1]]
[INFO]     19:56:09 :   >Begin searchByEpisodeName THETVDB
[DEBUG]    19:56:09 :        searchByEpisodeName:_ai=[Days Of Summer 2009 - Pg 13 
500dos]
[DEBUG]    19:56:09 :        searchByEpisodeName:_e=[]
[DEBUG]    19:56:09 :        searchByEpisodeName:_s=[5]
[DEBUG]    19:56:09 :        searchByEpisodeName:_T=[]
[INFO]     19:56:09 :       >Begin scanPageFirstMatch
[INFO]     19:56:09 :           >Begin 
scan_page_for_matches[http://www.bing.com/search?q="season 5" " : Days Of 
Summer 2009 - Pg 13 500dos" site:thetvdb.com]
[INFO]     19:56:09 :               [seriesid][seriesid=[0-9]+][1]
[DEBUG]    19:56:09 :               WGET 
['http://www.bing.com/search?q="season+5"+"+:+Days+Of+Summer+2009+-+Pg+13+500dos
"+site:thetvdb.com']
[INFO]     19:56:09 :               UTF-8 Encoding:1
[INFO]     19:56:09 :           <End 
scan_page_for_matches[http://www.bing.com/search?q="season 5" " : Days Of 
Summer 2009 - Pg 13 500dos" site:thetvdb.com]=[=[0]]
[INFO]     19:56:09 :       <End scanPageFirstMatch=[]
[INFO]     19:56:09 :   <End searchByEpisodeName THETVDB=[]
[DEBUG]    19:56:09 :   :[]  promoted to filename:[] 
[INFO]     19:56:09 :   Found tv info in file name:(500) Days Of Summer (2009) - 
PG_13/500dos title:[] [5] x []
[INFO]     19:56:09 : <End checkTvFilenameFormat THETVDB=[=[1]]
[INFO]     19:56:09 : >Begin tv_search 
(THETVDB,0,http://www.imdb.com/title/tt1022603/,0)
[INFO]     19:56:09 :   >Begin scrape imdb [http://www.imdb.com/title/tt1022603/]
[INFO]     19:56:09 :       Using persistent cache
[DEBUG]    19:56:09 :       START IMDB: title: poster  genre  cert  year 
[INFO]     19:56:09 :       UTF-8 Encoding:-1
[DEBUG]    19:56:09 :       Title found [(500) Days of Summer (2009)] current title 
[]
[DEBUG]    19:56:09 :       IMDB: Got year [2009]
[DEBUG]    19:56:09 :       imdb title=[(500) Days of Summer (2009)]
[DEBUG]    19:56:09 :       Imdb title = [(500) Days of Summer]
[DEBUG]    19:56:09 :       filename:[]  promoted to imdb:[(500) Days Of Summer] 
[DEBUG]    19:56:10 :       IMDB: Got imdb poster 
[http://ia.media-imdb.com/images/M/MV5BMTk5MjM4OTU1OV5BMl5BanBnXkFtZTcwODkzNDIzM
w@@._V1.jpg]
[DEBUG]    19:56:10 :       IMDB: Got Rating = [8]
[INFO]     19:56:10 :       actors|nm1989536|Marc Webb|
[INFO]     19:56:10 :       compress [nm1989536] = [ù· ]
[INFO]     19:56:10 :       actors|nm2354099|Scott Neustadter|
[INFO]     19:56:10 :       actors|nm2352210|Michael H. Weber|
[INFO] 19:56:10 IMAGES-0 : Queued  '26805' 'actor' 
'http://www.turkcealtyazi.org/film/images/nm2354099.jpg' 
'/share/Apps/oversight/db/global/_A/ovs_nm2354099.jpg' '-T' '30' '-t' '2' '-w' 
'2' '-q' '--no-check-certificate' '--ignore-length' '-U' 'Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 Firefox/0.8.0+'
[INFO] 19:56:10 IMAGES-0 : thread count = 0
[INFO]     19:56:10 :       compress [nm2354099,nm2352210] = [×³,ÈÒ]
[DEBUG]    19:56:10 :       Genre=[Comedy | Drama | Romance See more]
[INFO]     19:56:10 :       actors|nm0330687|Joseph 
Gordon-Levitt|http://ia.media-imdb.com/images/M/MV5BMTc4ODc3NDk5Ml5BMl5BanBnXkFt
ZTcwOTkzMTc2Mg@@._V1.jpg
[INFO]     19:56:10 :       actors|nm0221046|Zooey 
Deschanel|http://ia.media-imdb.com/images/M/MV5BMTI1NTEzNTk2Ml5BMl5BanBnXkFtZTcw
ODM0MTc2Mg@@._V1.jpg
[INFO]     19:56:10 :       actors|nm0034309|Geoffrey 
Arend|http://ia.media-imdb.com/images/M/MV5BMTg0NzUwMTU3OF5BMl5BanBnXkFtZTcwMTYy
MjkyMQ@@._V1.jpg
[INFO]     19:56:10 :       actors|nm1631269|Chloe 
Moretz|http://ia.media-imdb.com/images/M/MV5BMTMwMjY4MDMzOF5BMl5BanBnXkFtZTcwNDI
3MTY2Mg@@._V1.jpg
[INFO] 19:56:11 IMAGES-0 : Queued  '26805' 'actor' 
'http://www.turkcealtyazi.org/film/images/nm2352210.jpg' 
'/share/Apps/oversight/db/global/_A/ovs_nm2352210.jpg' '-T' '30' '-t' '2' '-w' 
'2' '-q' '--no-check-certificate' '--ignore-length' '-U' 'Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 Firefox/0.8.0+'
[INFO] 19:56:11 IMAGES-0 : thread count = 0
[INFO]     19:56:10 :       compress [nm0330687,nm0221046,nm0034309,nm1631269] = 
[”—¿,¾ö,‚Œ…,ãÈ¥]
[DEBUG]    19:56:11 :       AKA (500) Days Of Summer vs (500) Days Of Summer
[DEBUG]    19:56:11 :       AKA: <div class="info-content"> <a class="tn15more" 
href="/title/tt1022603/releaseinfo#akas" onClick="(new 
Image()).src='/rg/title-tease/akas/images/b.gif?link=/title/tt1022603/releaseinf
o#akas';">See more</a> »</div></div> 
[DEBUG]    19:56:11 :        AKA array:1=[ <div class="info-content"> <a 
class="tn15more" href="/title/tt1022603/releaseinfo#akas" onClick="(new 
Image()).src='/rg/title-tease/akas/images/b.gif?link=/title/tt1022603/releaseinf
o#akas';">See more</a> »</div></div> ]
[DEBUG]    19:56:11 :       Checking aka [ See more  ]
[DEBUG]    19:56:11 :       imdb:[(500) Days Of Summer]  promoted to 
imdb_orig:[(500) Days Of Summer] 
[DEBUG]    19:56:11 :       IMDB: set certificate [us][PG_13]
[DEBUG]    19:56:11 :       Found company details - ending
[INFO] 19:56:11 IMAGES-27035.0.195611 : Thread 27035 starting (27035)
[INFO]     19:56:11 :   <End scrape imdb 
[http://www.imdb.com/title/tt1022603/]=[=[category = M]]
[WARNING]  19:56:11 :   Error getting IMDB ID from tv - looks like a movie??
[INFO]     19:56:11 : <End tv_search 
(THETVDB,0,http://www.imdb.com/title/tt1022603/,0)=[=[0]]
[DEBUG]    19:56:11 : premovie tv_status 0
[INFO]     19:56:11 : >Begin movie search
[DEBUG]    19:56:11 :    name_tries:1=[500dos.720p.x264]
[DEBUG]    19:56:11 :    name_tries:2=[500dos]
[DEBUG]    19:56:11 :    search order:1=[IMDBFIRST]
[DEBUG]    19:56:11 :    search order:2=[ONLINE_NFO]
[DEBUG]    19:56:11 :    search order:3=[IMDBLINKS]
[INFO]     19:56:11 :   >Begin scrape imdb [http://www.imdb.com/title/tt1022603/]
[INFO]     19:56:11 :       Using persistent cache
[INFO] 19:56:11 IMAGES-27035.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.poster]
[INFO] 19:56:11 IMAGES-27035.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.fanart]
[INFO] 19:56:11 IMAGES-27035.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.actor]
[INFO] 19:56:11 IMAGES-27035.0.195611 : 
[INFO] 19:56:11 IMAGES-27035.0.195611 : Processing : [actor] 
[http://www.turkcealtyazi.org/film/images/nm2354099.jpg] 
[/share/Apps/oversight/db/global/_A/ovs_nm2354099.jpg]
[INFO] 19:56:11 IMAGES-27064.0.195611 : Thread 27064 starting (27064)
[INFO] 19:56:11 IMAGES-27064.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.poster]
[INFO] 19:56:11 IMAGES-27064.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.fanart]
[INFO] 19:56:11 IMAGES-27064.0.195611 : Begin Processing folder 
[/share/Apps/oversight/tmp/resize.queue.actor]
[INFO] 19:56:11 IMAGES-27064.0.195611 : 
[INFO] 19:56:11 IMAGES-27064.0.195611 : Processing : [actor] 
[http://www.turkcealtyazi.org/film/images/nm2352210.jpg] 
[/share/Apps/oversight/db/global/_A/ovs_nm2352210.jpg]
[DEBUG]    19:56:11 :       START IMDB: title:(500) Days Of Summer poster  genre 
Comedy | Drama | Romance cert PG_13 year 2009
[INFO]     19:56:11 :       UTF-8 Encoding:-1
[DEBUG]    19:56:11 :       Title found [(500) Days of Summer (2009)] current title 
[(500) Days Of Summer]
[DEBUG]    19:56:11 :       imdb title=[(500) Days of Summer (2009)]
[DEBUG]    19:56:11 :       Imdb title = [(500) Days of Summer]
[DEBUG]    19:56:11 :       current title imdb_orig:[(500) Days Of Summer] outranks 
imdb:[(500) Days Of Summer] 
[DEBUG]    19:56:11 :       IMDB: Got imdb poster 
[http://ia.media-imdb.com/images/M/MV5BMTk5MjM4OTU1OV5BMl5BanBnXkFtZTcwODkzNDIzM
w@@._V1.jpg]
[DEBUG]    19:56:11 :       IMDB: Got Rating = [8]
[DEBUG]    19:56:11 :       AKA (500) Days Of Summer vs (500) Days Of Summer
[DEBUG]    19:56:11 :       AKA: <div class="info-content"> <a class="tn15more" 
href="/title/tt1022603/releaseinfo#akas" onClick="(new 
Image()).src='/rg/title-tease/akas/images/b.gif?link=/title/tt1022603/releaseinf
o#akas';">See more</a> »</div></div> 
[DEBUG]    19:56:11 :        AKA array:1=[ <div class="info-content"> <a 
class="tn15more" href="/title/tt1022603/releaseinfo#akas" onClick="(new 
Image()).src='/rg/title-tease/akas/images/b.gif?link=/title/tt1022603/releaseinf
o#akas';">See more</a> »</div></div> ]
[DEBUG]    19:56:11 :       Checking aka [ See more  ]
[DEBUG]    19:56:11 :       current title imdb_orig:[(500) Days Of Summer] outranks 
imdb_orig:[(500) Days Of Summer] 
[DEBUG]    19:56:11 :       IMDB: set certificate [us][PG_13]
[DEBUG]    19:56:11 :       Found company details - ending
[ERR]      19:56:11 :       Unparsed imdb sections 
[DEBUG]    19:56:11 :        missing:_d=[Director]
[DEBUG]    19:56:11 :        missing:_W=[Writers]
[DEBUG]    19:56:11 :        missing:_Y=[Year]
[DEBUG]    19:56:11 :        missing:_rt=[Runtime]
[DEBUG]    19:56:11 :        missing:_A=[Actors]
[DEBUG]    19:56:11 :        missing:_P=[Plot]
[DEBUG]    19:56:11 :        missing:_G=[Genre]
[INFO]     19:56:11 :   <End scrape imdb 
[http://www.imdb.com/title/tt1022603/]=[=[category = M]]

Original comment by lordylo...@gmail.com on 31 Jul 2010 at 6:56

GoogleCodeExporter commented 8 years ago
Latest V2 Scan still does the same for me...

Original comment by losprog on 4 Aug 2010 at 8:40

Attachments: