This commit is contained in:
Gregory Salaun 2021-12-15 17:11:16 +01:00
parent e8f06e0070
commit 04ac05e13c

View File

@ -32,7 +32,7 @@ logger.info(f"Retrieving {len(plexMoviesLibrary)} Movies from Plex and Updating
for item in plexMoviesLibrary: for item in plexMoviesLibrary:
movie = UpdatedMovie() movie = UpdatedMovie()
tmdbMovie = Movie() tmdbMovie = Movie()
tmdbMovieDetails = object() tmdbMovieDetails = {}
movie.PlexTitle = item.title movie.PlexTitle = item.title
for guid in item.guids: for guid in item.guids:
@ -81,8 +81,6 @@ while i < len(MoviesList):
logger.info(f"Found a total of {len(MovieListFinal)} collections, updating config file now !") logger.info(f"Found a total of {len(MovieListFinal)} collections, updating config file now !")
def UpdateYAML(configFile): def UpdateYAML(configFile):
currentYaml = object()
try: try:
with open(configFile, 'r') as f: with open(configFile, 'r') as f:
try: try: