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:
McCloudS
2024-11-14 21:12:36 -07:00
committed by GitHub
parent 4206b8779c
commit bb818a4ec7

View File

@@ -297,9 +297,6 @@ def receive_emby_webhook(
):
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:
return ""