parent
dd8d22de70
commit
f3e2097f1b
@ -34,8 +34,9 @@ AGENT_ID = 14 # Notification agent ID for PlexPy
|
|||||||
|
|
||||||
##/EDIT THESE SETTINGS ##
|
##/EDIT THESE SETTINGS ##
|
||||||
|
|
||||||
|
sess = requests.Session()
|
||||||
plex = PlexServer(PLEX_URL, PLEX_TOKEN)
|
sess.verify = False
|
||||||
|
plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
|
||||||
|
|
||||||
def send_notification(subject_text, body_text):
|
def send_notification(subject_text, body_text):
|
||||||
# Send the notification through PlexPy
|
# Send the notification through PlexPy
|
||||||
|
Loading…
Reference in New Issue
Block a user