mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
Fixed processing on new media.
This commit is contained in:
1 parent
f6a3c80fc5
commit
d710a69954
1 file changed
+1
-1
+1
-1
@@ -45,7 +45,7 @@ def receive_webhook():
|
|||||||
event = payload.get("event")
|
event = payload.get("event")
|
||||||
metadata = payload.get("Metadata")
|
metadata = payload.get("Metadata")
|
||||||
|
|
||||||
if (event == "media.add" and procaddedmedia) or (event == "media.play" and procmediaonplay):
|
if (event == "library.new" and procaddedmedia) or (event == "media.play" and procmediaonplay):
|
||||||
|
|
||||||
|
|
||||||
print("Webhook received!")
|
print("Webhook received!")
|
||||||
|
|||||||
Reference in new issue
Block a user