From 4c512051f75ea39906e13389fc3517d9eb54f191 Mon Sep 17 00:00:00 2001 From: Matt Park Date: Mon, 2 Oct 2023 15:15:01 -0400 Subject: [PATCH] Update movies.py Check for an updated dir_name in case IMDB id was appended. --- core/auto_process/movies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/auto_process/movies.py b/core/auto_process/movies.py index bfee550a..87c50e16 100644 --- a/core/auto_process/movies.py +++ b/core/auto_process/movies.py @@ -66,7 +66,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual', else: extract = int(cfg.get('extract', 0)) - imdbid = find_imdbid(dir_name, input_name, omdbapikey) + imdbid, dir_name = find_imdbid(dir_name, input_name, omdbapikey) if section == 'CouchPotato': base_url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey) if section == 'Radarr':