Safety check
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run

This commit is contained in:
Parker M. 2025-01-20 21:07:52 -06:00
parent 6034a95e48
commit de7bdb5512
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

@ -31,7 +31,10 @@ def add_content(
else f"{host}/api/v3/series/lookup?term=tvdb:{content_info['contentId']}"
),
headers=headers,
).json()[0]
).json()
if len(data) > 1:
data = data[0]
data["monitored"] = True
data["qualityProfileId"] = profile_id