From 4264dbbdb2a4909f09a00a8dc6035ab8fdbca80d Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 22 May 2021 00:45:03 -0400 Subject: [PATCH] speed up IMDb for shows --- modules/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imdb.py b/modules/imdb.py index 15ac801a..6b037032 100644 --- a/modules/imdb.py +++ b/modules/imdb.py @@ -97,8 +97,8 @@ class IMDbAPI: show_ids = [] movie_ids = [] def run_convert(imdb_id): - tmdb_id = self.config.Convert.imdb_to_tmdb(imdb_id) tvdb_id = self.config.Convert.imdb_to_tvdb(imdb_id) if not is_movie else None + tmdb_id = self.config.Convert.imdb_to_tmdb(imdb_id) if tvdb_id is None else None if not tmdb_id and not tvdb_id: logger.error(f"Convert Error: No TMDb ID or TVDb ID found for IMDb: {imdb_id}") if tmdb_id: movie_ids.append(tmdb_id)