aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--code/utils/content_add.py3
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