mrlucas84 / tinymediamanager

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

poor movie search results #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Will not scan movies

What is the expected output? What do you see instead?
no movie found

What version of the product are you using? On what operating system?
r1030

Please provide any additional information below.
remove the current nfo and images from 1408 folder, fresh install, initialize 
database and update data sources.
right click 1408 and search and scrape force best match. movie not found.

2013-10-05 12:17:31,121 INFO  [main] org.tinymediamanager.TinyMediaManager:172 
- =====================================================
2013-10-05 12:17:31,125 INFO  [main] org.tinymediamanager.TinyMediaManager:173 
- === tinyMediaManager (c) 2012-2013 Manuel Laggner ===
2013-10-05 12:17:31,125 INFO  [main] org.tinymediamanager.TinyMediaManager:174 
- =====================================================
2013-10-05 12:17:31,125 INFO  [main] org.tinymediamanager.TinyMediaManager:176 
- os.name          : Linux
2013-10-05 12:17:31,126 INFO  [main] org.tinymediamanager.TinyMediaManager:177 
- os.version       : 3.8.0-25-generic
2013-10-05 12:17:31,126 INFO  [main] org.tinymediamanager.TinyMediaManager:178 
- os.arch          : amd64
2013-10-05 12:17:31,126 INFO  [main] org.tinymediamanager.TinyMediaManager:179 
- java.version     : 1.7.0_25
2013-10-05 12:17:31,141 WARN  [main] org.tinymediamanager.ui.TmmUIHelper:61 - 
cannot open init filedialogorg.eclipse.swt.widgets.FileDialog
2013-10-05 12:17:31,142 INFO  [main] org.tinymediamanager.TinyMediaManager:584 
- default encoding : UTF-8 | UTF8 | UTF-8
2013-10-05 12:17:31,143 INFO  [main] org.tinymediamanager.TinyMediaManager:584 
- set encoding to  : UTF-8 | UTF8 | UTF-8
2013-10-05 12:17:31,619 INFO  [main] org.tinymediamanager.TinyMediaManager:206 
- System language  : en_en
2013-10-05 12:17:31,620 INFO  [main] org.tinymediamanager.TinyMediaManager:207 
- GUI language     : en_US
2013-10-05 12:17:31,620 INFO  [main] org.tinymediamanager.TinyMediaManager:208 
- Scraper language : English
2013-10-05 12:17:31,621 INFO  [main] org.tinymediamanager.TinyMediaManager:209 
- TV Scraper lang  : English
2013-10-05 12:17:31,854 INFO  [main] org.tinymediamanager.TinyMediaManager:274 
- =====================================================
2013-10-05 12:17:31,855 INFO  [main] org.tinymediamanager.TinyMediaManager:275 
- starting tinyMediaManager
2013-10-05 12:17:31,893 INFO  [main] org.tinymediamanager.TinyMediaManager:283 
- initialize database
2013-10-05 12:17:32,501 DEBUG [main] org.tinymediamanager.TinyMediaManager:285 
- database opened
2013-10-05 12:17:32,993 INFO  [main] 
o.tinymediamanager.core.movie.MovieList:234 - found 538 movies in database
2013-10-05 12:17:33,594 INFO  [main] 
o.tinymediamanager.core.movie.MovieList:274 - found 0 movieSets in database
2013-10-05 12:17:33,611 INFO  [main] o.t.core.tvshow.TvShowList:196 - found 0 
tv shows in database
2013-10-05 12:17:33,613 DEBUG [main] org.tinymediamanager.TinyMediaManager:327 
- Loading native mediainfo lib from: native/linux-amd64
2013-10-05 12:17:33,780 INFO  [main] org.tinymediamanager.TinyMediaManager:331 
- Using MediaInfoLib - v0.7.61
2013-10-05 12:17:34,181 DEBUG [main] 
o.tinymediamanager.ui.movies.MoviePanel:220 - loading MovieList
2013-10-05 12:17:36,598 DEBUG [trackEventThread] 
org.tinymediamanager.core.Utils:411 - setting HTTP user-agent to: Mozilla/5.0 
(X11; Linux 3.8.0-25-generic; U; amd64; en-US; rv:19.0) Gecko/20100101 
Firefox/19.0
2013-10-05 12:17:36,600 DEBUG [trackEventThread] 
org.tinymediamanager.scraper.util.Url:160 - getting 
http://www.google-analytics.com/collect?v=1&tid=UA-35564534-5&cid=3e7734ea-1b37-
4a47-938d-56fd2d667c69&an=tinyMediaManager&av=r1030&t=event&ec=startup&ea=startu
p&je=1&ul=en-US&vp=1100x727&sr=1680x1050&cd1=Linux&cd2=amd64&cd3=1.7.0_25&z=1380
989856247
2013-10-05 12:17:41,555 DEBUG [tmmpool-scrape-thread-1] 
o.tinymediamanager.core.movie.MovieList:531 - get instance of 
ImdbMetadataProvider
2013-10-05 12:17:41,561 DEBUG [tmmpool-scrape-thread-1] 
o.tinymediamanager.core.movie.MovieList:597 - get instance of 
TmdbMetadataProvider
2013-10-05 12:17:41,765 DEBUG [tmmpool-scrape-thread-1] 
org.tinymediamanager.scraper.util.Url:121 - add HTTP header: 
Accept=application/json
2013-10-05 12:17:41,766 DEBUG [tmmpool-scrape-thread-1] 
org.tinymediamanager.scraper.util.Url:121 - add HTTP header: 
Content-Type=application/json
2013-10-05 12:17:41,766 DEBUG [tmmpool-scrape-thread-1] 
org.tinymediamanager.scraper.util.Url:160 - getting 
http://api.themoviedb.org/3/configuration?api_key=<API_KEY>
2013-10-05 12:17:42,084 DEBUG [tmmpool-scrape-thread-1] 
o.tinymediamanager.core.movie.MovieList:611 - get instance of 
FanartTvMetadataProvider
2013-10-05 12:17:42,106 DEBUG [tmmpool-scrape-thread-1] 
o.t.scraper.imdb.ImdbMetadataProvider:674 - search() SearchQuery; Type: MOVIE; 
TITLE:1408 2007;LANGUAGE:en;QUERY:1408 2007;
2013-10-05 12:17:42,107 DEBUG [tmmpool-scrape-thread-1] 
o.t.scraper.imdb.ImdbMetadataProvider:731 - ========= BEGIN IMDB Scraper Search 
for: http://www.imdb.com/find?q=1408+2007&s=all
2013-10-05 12:17:42,112 DEBUG [tmmpool-scrape-thread-1] 
org.tinymediamanager.scraper.util.Url:121 - add HTTP header: 
Accept-Language=en,en-us;q=0.9
2013-10-05 12:17:42,114 DEBUG [tmmpool-scrape-thread-1] 
org.tinymediamanager.scraper.util.Url:160 - getting 
http://www.imdb.com/find?q=1408+2007&s=all
2013-10-05 12:17:42,935 DEBUG [tmmpool-scrape-thread-1] 
o.t.scraper.util.Similarity:140 - Similarity Score: [1408 
2007][1408]=[0.6666667]
2013-10-05 12:17:42,936 DEBUG [tmmpool-scrape-thread-1] 
o.t.scraper.util.Similarity:140 - Similarity Score: [1408 
2007][1408]=[0.6666667]
2013-10-05 12:17:42,941 INFO  [tmmpool-scrape-thread-1] 
o.t.core.movie.tasks.MovieScrapeTask:162 - score is lower than 0.75 (0.6666667) 
- ignore result
2013-10-05 12:17:42,942 INFO  [SwingWorker-pool-2-thread-6] 
o.t.core.movie.tasks.MovieScrapeTask:94 - Done scraping movies)

There is only one movie listing of 1408 on IMDB. The other is a TV series.

Original issue reported on code.google.com by johnnyst...@gmail.com on 5 Oct 2013 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
ok, now i see the problem :)
The movie title is quite short (1408) so we didnt remove the year there.
Although a search on imdb for both finds only one result, the matching score is 
too low so we didn't take the result.
We need to tweak our search algorithm a bit, when it comes to deecting a year :)

Thanks for reporting!

Original comment by myron0...@gmx.net on 5 Oct 2013 at 5:28

GoogleCodeExporter commented 9 years ago
ok, we tweaked the IMDB and year detection a bit.
Will be in the next release.
Please report back, if that solves your problem.

Thanks for reporting!

Original comment by myron0...@gmx.net on 7 Oct 2013 at 7:27