Update subgen.py

This commit is contained in:
McCloudS authored and GitHub committed 2023-02-02 11:34:48 -07:00
1 parent facacd5008
commit 99aa6fd8be
1 file changed
-1
-1
View File
@@ -39,7 +39,6 @@ def receive_webhook():
else:
payload = json.loads(request.form['payload'])
event = payload.get("event")
if event != "library.new" and event != "added" and event != "media.play" and event != "played": return ""
if ((event == "library.new" or event == "added") and procaddedmedia) or ((event == "media.play" or event == "played") and procmediaonplay):
if event == "library.new" or event == "media.play": # these are the plex webhooks!