diff --git a/couchpotato/core/plugins/automation.py b/couchpotato/core/plugins/automation.py index b056624..39d7c9e 100644 --- a/couchpotato/core/plugins/automation.py +++ b/couchpotato/core/plugins/automation.py @@ -37,7 +37,7 @@ class Automation(Plugin): if not added: added_movie = fireEvent('movie.add', params = {'identifier': imdb_id}, force_readd = False, search_after = False, update_after = True, single = True) if added_movie: - movie_ids.append(added_movie['id']) + movie_ids.append(added_movie['_id']) Env.prop(prop_name, True) for movie_id in movie_ids: