diff options
author | Parker <contact@pkrm.dev> | 2025-01-20 21:22:01 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-01-20 21:22:01 -0600 |
commit | a7a9a329840dd42089146d3ee5d258ad5fc9ec4e (patch) | |
tree | 8de0d9c12ff89bfb96040ef026d3c1274cd7288f | |
parent | 97ecf9697e13350a02cb83658c94d7e9bdb28bd1 (diff) |
Sonarr check
-rw-r--r-- | code/utils/content_add.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/code/utils/content_add.py b/code/utils/content_add.py index 0c7f383..015f2aa 100644 --- a/code/utils/content_add.py +++ b/code/utils/content_add.py @@ -33,6 +33,9 @@ def add_content( headers=headers, ).json() + if service == "sonarr": + data = data[0] + data["monitored"] = True data["qualityProfileId"] = profile_id data["rootFolderPath"] = folder_path |