mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-26 15:06:06 +00:00
Update subgen.py
This commit is contained in:
1 parent
7ac13c8210
commit
f4f24b128e
1 file changed
+1
-1
+1
-1
@@ -40,7 +40,7 @@ def receive_webhook():
|
||||
payload = json.loads(request.form['payload'])
|
||||
event = payload.get("event")
|
||||
if ((event == "library.new" or event == "added") and procaddedmedia) or ((event == "media.play" or event == "played") and procmediaonplay):
|
||||
|
||||
fullpath = None
|
||||
if event == "library.new" or event == "media.play": # these are the plex webhooks!
|
||||
print("Plex webhook received!")
|
||||
metadata = payload.get("Metadata")
|
||||
|
||||
Reference in new issue
Block a user