diff --git a/PlexAutoCollectionUpdater.py b/PlexAutoCollectionUpdater.py index 77f3e53..0f510e2 100644 --- a/PlexAutoCollectionUpdater.py +++ b/PlexAutoCollectionUpdater.py @@ -93,8 +93,8 @@ def UpdateYAML(configFile, MovieListFinal): currentYamlCollections = [] - for movies in currentYaml['collections']: - currentYamlCollections.append(movies) + for movie in currentYaml['collections']: + currentYamlCollections.append(movie) for collection in MovieListFinal: if collection.MovieTMDbCollectionName not in currentYamlCollections: diff --git a/config/config.py b/config/config.py index 86b8170..b0ba07b 100644 --- a/config/config.py +++ b/config/config.py @@ -5,6 +5,6 @@ class Config(object): tmdbImgUrl = 'https://image.tmdb.org/t/p/w500' plexBaseUrl = 'https://plex.rouggy.com' plexToken = 'VeQQwtf-sNtWWLwzCEih' - PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/Movies.yml' - PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/Movies.yml' + PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/assets/Movies.yml' + PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/assets/Movies.yml' PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets'