continuous stream
Build and Push Docker Images / build-and-push (push) Successful in 22s

This commit is contained in:
2026-02-11 22:14:14 +01:00
parent bc4a834e46
commit 6348ecb732
4 changed files with 71 additions and 12 deletions
+7
View File
@@ -60,3 +60,10 @@ TMDB_IMAGE_STILL_SIZE = "w500"
# Preferred audio languages for streaming (in order): Dutch → Flemish → default
PREFERRED_AUDIO_LANGUAGES = ("nld", "dut", "nl", "vls")
# Live stream normalization: re-encode to uniform format to avoid crashes when
# switching between episodes with different resolutions/codecs. Set
# NORMALIZE_LIVE_STREAM=1 to enable. Uses more CPU but produces a stable stream.
NORMALIZE_LIVE_STREAM = os.environ.get("NORMALIZE_LIVE_STREAM", "").lower() in ("1", "true", "yes")
# Target resolution when normalizing (e.g. "1920x1080" or "1280x720")
NORMALIZE_TARGET_RES = os.environ.get("NORMALIZE_TARGET_RES", "1920x1080").strip() or "1920x1080"