From 55f617250b0cdda5867d9504bc820d000d2fad7f Mon Sep 17 00:00:00 2001 From: TheHumanRobot <75536101+TheHumanRobot@users.noreply.github.com> Date: Wed, 29 Dec 2021 22:50:04 -0500 Subject: [PATCH] web version --- PrerollUpdate.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PrerollUpdate.py b/PrerollUpdate.py index 4c08d31..4eebe45 100644 --- a/PrerollUpdate.py +++ b/PrerollUpdate.py @@ -69,10 +69,14 @@ def update(): session.verify = False requests.packages.urllib3.disable_warnings() plex = PlexServer(data['URL'], data['Token'], session, timeout=None) + print(Date) + print(data[Date]) if data[Date] is None: Path = data['Default'] + print(Path) else: Path = data[Date] + print(Path) prerolls = Path plex.settings.get('cinemaTrailersPrerollID').set(prerolls) plex.settings.save()