From f8e10315d5c3de876d10587387b816405cf06879 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 11 May 2021 22:34:14 -0400 Subject: [PATCH] tmdb could of been a list --- modules/convert.py | 8 +++++++- plex_meta_manager.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/convert.py b/modules/convert.py index 27b7f822..c0b85d93 100644 --- a/modules/convert.py +++ b/modules/convert.py @@ -313,7 +313,13 @@ class Convert: if not tmdb_id: raise Failed(f"Unable to convert IMDb ID: {imdb_id} to TMDb ID") if not anidb_id and not tvdb_id and tmdb_id and library.is_show: - tvdb_id = self.tmdb_to_tvdb(tmdb_id) + if isinstance(tmdb_id, list): + tvdb_id = [] + for tmdb in tmdb_id: + if tmdb: + tvdb_id.append(self.tmdb_to_tvdb(tmdb)) + else: + tvdb_id = self.tmdb_to_tvdb(tmdb_id) if not tvdb_id: raise Failed(f"Unable to convert TMDb ID: {tmdb_id} to TVDb ID") diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 2e57436e..9047b47b 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -92,7 +92,7 @@ util.centered("| |_) | |/ _ \\ \\/ / | |\\/| |/ _ \\ __/ _` | | |\\/| |/ _` | '_ util.centered("| __/| | __/> < | | | | __/ || (_| | | | | | (_| | | | | (_| | (_| | __/ | ") util.centered("|_| |_|\\___/_/\\_\\ |_| |_|\\___|\\__\\__,_| |_| |_|\\__,_|_| |_|\\__,_|\\__, |\\___|_| ") util.centered(" |___/ ") -util.centered(" Version: 1.9.0-beta3 ") +util.centered(" Version: 1.9.0-beta4 ") util.separator() def start(config_path, is_test, daily, requested_collections, requested_libraries, resume_from):