Use TheMovieDB v3 api

This commit is contained in:
Ruud
2013-09-02 14:10:31 +02:00
parent 88176997e7
commit 910578a2ac
17 changed files with 2830 additions and 854 deletions
-11
View File
@@ -594,17 +594,6 @@ class Scanner(Plugin):
except:
pass
# Search based on OpenSubtitleHash
if not imdb_id and not group['is_dvd']:
for cur_file in files['movie']:
movie = fireEvent('movie.by_hash', file = cur_file, merge = True)
if len(movie) > 0:
imdb_id = movie[0].get('imdb')
if imdb_id:
log.debug('Found movie via OpenSubtitleHash: %s', cur_file)
break
# Search based on identifiers
if not imdb_id:
for identifier in group['identifiers']: