diff --git a/PlexAutoCollectionUpdater.py b/PlexAutoCollectionUpdater.py index c8ba6be..ff6a9f9 100644 --- a/PlexAutoCollectionUpdater.py +++ b/PlexAutoCollectionUpdater.py @@ -121,8 +121,8 @@ def UpdateYAML(configFile, MovieListFinal): urllib.request.urlretrieve(Config.tmdbImgUrl + f"{collection.MovieTMDbCollectionPosterPath}", Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.MovieTMDbCollectionName}/poster.jpeg") -# MovieListFinal = MovieCollectionList('Movies') -# UpdateYAML(Config.PlexAutoCollectionConfigFilePath, MovieListFinal) +MovieListFinal = MovieCollectionList('Movies') +UpdateYAML(Config.PlexAutoCollectionConfigFilePath, MovieListFinal) MovieListFinal = MovieCollectionList('4K Movies') UpdateYAML(Config.PlexAutoCollectionConfigFilePath4K, MovieListFinal) diff --git a/config/config.py b/config/config.py index b0ba07b..d715119 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/assets/Movies.yml' - PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/assets/Movies.yml' + PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/metadata/Movies.yml' + PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/metadata/4K-Movies.yml' PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets'