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:
@@ -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