nosmokingbandit / Watcher3

Other
279 stars 60 forks source link

Search removes correct titles from results #193

Open ghost opened 6 years ago

ghost commented 6 years ago

The right movie is found, but Watcher doesn't think so:

INFO [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.273: Checking title match. DEBUG [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.289: Comparing release Some Movie 2017 1080p WEB-DL DD5 1 H264-FGT with titles ['Some Movie']. DEBUG [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.295: Some Movie 2017 1080p WEB-DL DD5 1 H264-FGT best title match was 20%, removing search result. DEBUG [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.289: Comparing release Some.Movie.2017.1080p.WEB-DL.DD5.1.H264-FGT-postbot with titles ['Some Movie']. DEBUG [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.295: Some.Movie.2017.1080p.WEB-DL.DD5.1.H264-FGT-postbot best title match was 18%, removing search result. INFO [2018-01-17 11:04:29,957] core.searchresults.fuzzy_title.297: Keeping 0 results.

nosmokingbandit commented 6 years ago

Can you email me the actual name of the movie. The title matching algorithm is something I'm constantly tweaking.

watchernzb@gmail.com

nosmokingbandit commented 6 years ago

Whats happening here is that Watcher separates the movie title from the rest of the info by splitting on the year, so movie name 2018 DTS Blu-Ray gets split on 2018 so that the title to match against is simply movie name. The problem with this is that if the year is incorrect it won't be able to split and instead matches on the entire release name.

095dbd19200a68e2222748ca5271022a6ff2c915 includes a fallback method that is slightly less accurate, but will allow matches for releases like these.

From what I can tell, IMDB and TheMovieDB disagree about the actual release date of the film, so that is why you see both 2017 and 2018.

nosmokingbandit commented 6 years ago

I reverted that commit. On the rare instance a movie's IMDB and TheMovieDB year of release are different the user will have to address by editing that movie's database entry. There is no reasonable way to work around these problems without introducing even more.