This commit is contained in:
Gregory Salaun 2022-11-21 16:55:15 +07:00
parent 6273c4e466
commit 8c08947fc7
2 changed files with 4 additions and 4 deletions

View File

@ -93,8 +93,8 @@ def UpdateYAML(configFile, MovieListFinal):
currentYamlCollections = [] currentYamlCollections = []
for movies in currentYaml['collections']: for movie in currentYaml['collections']:
currentYamlCollections.append(movies) currentYamlCollections.append(movie)
for collection in MovieListFinal: for collection in MovieListFinal:
if collection.MovieTMDbCollectionName not in currentYamlCollections: if collection.MovieTMDbCollectionName not in currentYamlCollections:

View File

@ -5,6 +5,6 @@ class Config(object):
tmdbImgUrl = 'https://image.tmdb.org/t/p/w500' tmdbImgUrl = 'https://image.tmdb.org/t/p/w500'
plexBaseUrl = 'https://plex.rouggy.com' plexBaseUrl = 'https://plex.rouggy.com'
plexToken = 'VeQQwtf-sNtWWLwzCEih' plexToken = 'VeQQwtf-sNtWWLwzCEih'
PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/Movies.yml' PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/assets/Movies.yml'
PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/Movies.yml' PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/assets/Movies.yml'
PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets' PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets'