Improve webhook error handling and URL building

Adjusted indentation in the webhook receiver to correctly fall back to a
warning message when receiving a misconfigured webhook. Also, updated
metadata refresh function to construct the request URL dynamically,
allowing for more robust handling of server addresses, including those
served over HTTPS. These changes ensure better user feedback and improve
compatibility with secure Plex server configurations.
This commit is contained in:
Rikiar
2023-12-19 11:55:54 +01:00
parent e514fc16be
commit 5c5fe8d114
2 changed files with 8 additions and 3 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
subgen/tmp27tjle0a
subgen/.locks/*
subgen/__pycache__/subgen.cpython-310.pyc
subgen/models--Systran--faster-whisper-medium/*