refactor: streamline proxy condition in playback endpoint

This commit is contained in:
g0ldyy
2025-11-26 19:05:41 +01:00
parent 5a7fc2bdb1
commit d09658bd62
+1 -5
View File
@@ -139,11 +139,7 @@ async def playback(
},
)
if (
settings.PROXY_DEBRID_STREAM
and settings.PROXY_DEBRID_STREAM_PASSWORD
== config["debridStreamProxyPassword"]
):
if should_proxy:
return await custom_handle_stream_request(
request.method,
download_url,