From 8c08947fc765a05e9fe587dee7d03313253c3f71 Mon Sep 17 00:00:00 2001 From: rouggy Date: Mon, 21 Nov 2022 16:55:15 +0700 Subject: [PATCH] update --- PlexAutoCollectionUpdater.py | 4 ++-- config/config.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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'