From 1528cb21c670896bd2df742c671b8ec081ae6b29 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 4 Jun 2021 22:29:16 +1200 Subject: [PATCH] Update Radarr api version --- core/auto_process/movies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/auto_process/movies.py b/core/auto_process/movies.py index 160248f9..1008f946 100644 --- a/core/auto_process/movies.py +++ b/core/auto_process/movies.py @@ -70,8 +70,8 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual', if section == 'CouchPotato': base_url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey) if section == 'Radarr': - base_url = '{0}{1}:{2}{3}/api/command'.format(protocol, host, port, web_root) - url2 = '{0}{1}:{2}{3}/api/config/downloadClient'.format(protocol, host, port, web_root) + base_url = '{0}{1}:{2}{3}/api/v3/command'.format(protocol, host, port, web_root) + url2 = '{0}{1}:{2}{3}/api/v3/config/downloadClient'.format(protocol, host, port, web_root) headers = {'X-Api-Key': apikey} if section == 'Watcher3': base_url = '{0}{1}:{2}{3}/postprocessing'.format(protocol, host, port, web_root)