Use correct id returned from automation add. fix #3050
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user