mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Removed user-agent check from Emby
Emby updated their user agent to seemingly match the browser being used, which cause a failure in the code.
This commit is contained in:
1 parent
4206b8779c
commit
bb818a4ec7
1 file changed
-3
@@ -297,9 +297,6 @@ def receive_emby_webhook(
|
|||||||
):
|
):
|
||||||
logging.debug("Raw response: %s", data)
|
logging.debug("Raw response: %s", data)
|
||||||
|
|
||||||
if "Emby Server" not in user_agent:
|
|
||||||
return {"This doesn't appear to be a properly configured Emby webhook, please review the instructions again!"}
|
|
||||||
|
|
||||||
if not data:
|
if not data:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user