From d5c6942266d756e82524ed528b672ee7885468a1 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 23 Mar 2014 17:55:33 +0100 Subject: [PATCH] Use media_id to get movie in renamer --- couchpotato/core/plugins/renamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index 9099c44b..8c5a182d 100644 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -249,7 +249,7 @@ class Renamer(Plugin): 'profile_id': None }, search_after = False, status = 'done', single = True) else: - group['media'] = fireEvent('movie.update_info', identifier = getIdentifier(group['media']), single = True) + group['media'] = fireEvent('movie.update_info', media_id = group['media'].get('_id'), 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)