Use Media for all Movie db actions

This commit is contained in:
Ruud
2013-10-08 09:57:36 +02:00
parent 107606ce65
commit d1c3f0c241
11 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ class Scanner(Plugin):
if not group['library']:
log.error('Unable to determine movie: %s', group['identifiers'])
else:
movie = db.query(Movie).filter_by(library_id = group['library']['id']).first()
movie = db.query(Media).filter_by(library_id = group['library']['id']).first()
group['movie_id'] = None if not movie else movie.id
processed_movies[identifier] = group