This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user