Move movie listing to media

This commit is contained in:
Ruud
2013-11-30 12:23:53 +01:00
parent c72cca4ea2
commit bde6de1789
10 changed files with 434 additions and 384 deletions
+1 -1
View File
@@ -820,7 +820,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
try:
for rel in rels:
rel_dict = rel.to_dict({'info': {}})
movie_dict = fireEvent('movie.get', rel.movie_id, single = True)
movie_dict = fireEvent('media.get', rel.movie_id, single = True)
if not isinstance(rel_dict['info'], (dict)):
log.error('Faulty release found without any info, ignoring.')