web version

docker
TheHumanRobot 3 years ago committed by GitHub
parent d8419fd0ee
commit 55f617250b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,10 +69,14 @@ def update():
session.verify = False session.verify = False
requests.packages.urllib3.disable_warnings() requests.packages.urllib3.disable_warnings()
plex = PlexServer(data['URL'], data['Token'], session, timeout=None) plex = PlexServer(data['URL'], data['Token'], session, timeout=None)
print(Date)
print(data[Date])
if data[Date] is None: if data[Date] is None:
Path = data['Default'] Path = data['Default']
print(Path)
else: else:
Path = data[Date] Path = data[Date]
print(Path)
prerolls = Path prerolls = Path
plex.settings.get('cinemaTrailersPrerollID').set(prerolls) plex.settings.get('cinemaTrailersPrerollID').set(prerolls)
plex.settings.save() plex.settings.save()

Loading…
Cancel
Save