Identifiers fix

This commit is contained in:
Ruud
2014-03-22 09:52:21 +01:00
parent 5a4467adb9
commit d4eca60b1d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ class Renamer(Plugin):
'profile_id': None
}, search_after = False, status = 'done', single = True)
else:
group['media'] = fireEvent('movie.update_info', identifier = group['media']['identifier'], single = True)
group['media'] = fireEvent('movie.update_info', identifier = getIdentifier(group['media']), single = True)
if not group['media'] or not group['media'].get('_id'):
log.error('Could not rename, no library item to work with: %s', group_identifier)