This commit is contained in:
Gregory Salaun 2022-11-21 22:34:42 +07:00
parent 5d3c84565f
commit 48393ab4d3
2 changed files with 4 additions and 4 deletions

View File

@ -121,8 +121,8 @@ def UpdateYAML(configFile, MovieListFinal):
urllib.request.urlretrieve(Config.tmdbImgUrl + f"{collection.MovieTMDbCollectionPosterPath}", urllib.request.urlretrieve(Config.tmdbImgUrl + f"{collection.MovieTMDbCollectionPosterPath}",
Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.MovieTMDbCollectionName}/poster.jpeg") Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.MovieTMDbCollectionName}/poster.jpeg")
# MovieListFinal = MovieCollectionList('Movies') MovieListFinal = MovieCollectionList('Movies')
# UpdateYAML(Config.PlexAutoCollectionConfigFilePath, MovieListFinal) UpdateYAML(Config.PlexAutoCollectionConfigFilePath, MovieListFinal)
MovieListFinal = MovieCollectionList('4K Movies') MovieListFinal = MovieCollectionList('4K Movies')
UpdateYAML(Config.PlexAutoCollectionConfigFilePath4K, MovieListFinal) UpdateYAML(Config.PlexAutoCollectionConfigFilePath4K, MovieListFinal)

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/assets/Movies.yml' PlexAutoCollectionConfigFilePath = '/opt/Plex-Meta-Manager/config/metadata/Movies.yml'
PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/assets/Movies.yml' PlexAutoCollectionConfigFilePath4K = '/opt/Plex-Meta-Manager/config/metadata/4K-Movies.yml'
PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets' PlexAutoCollectionConfigFileImagesPath = '/opt/Plex-Meta-Manager/config/assets'