From 2280f8dee8e9a3ddd98bf4f19935ff4ca17fee32 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Mon, 7 Jun 2021 15:45:32 +1200 Subject: [PATCH] Update Radarr api version (#1833) --- 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)