* movieDetection: check tt1234567 imdbid patterns from filename

This commit is contained in:
Reinhard Pointner 2012-12-29 17:36:36 +00:00
parent 1386952ef8
commit b43c724a51
1 changed files with 7 additions and 0 deletions

View File

@ -398,6 +398,13 @@ public class MediaDetection {
// lookup by id from nfo file
if (queryLookupService != null) {
for (int imdbid : grepImdbId(movieFile.getPath())) {
Movie movie = queryLookupService.getMovieDescriptor(imdbid, locale);
if (movie != null) {
options.add(movie);
}
}
// try to grep imdb id from nfo files
for (int imdbid : grepImdbIdFor(movieFile)) {
Movie movie = queryLookupService.getMovieDescriptor(imdbid, locale);