From bb818a4ec79a7f7ea8e14934b45cec3abd619f7f Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:12:36 -0700 Subject: [PATCH] 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. --- subgen.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/subgen.py b/subgen.py index 3f8bb49..6f55117 100644 --- a/subgen.py +++ b/subgen.py @@ -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 ""