aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-31 21:23:59 -0500
committerJesús <heckyel@hyperbola.info>2021-08-31 21:23:59 -0500
commite4444154785c6cd52c8a3a2bf6c84ef47d662492 (patch)
treea3e2b809175a74f222b6580c9d3469baf12d9ca8
parent1526049de1d43deeb69630d062aff939410a38a1 (diff)
downloadyt-local-docker-e4444154785c6cd52c8a3a2bf6c84ef47d662492.tar.lz
yt-local-docker-e4444154785c6cd52c8a3a2bf6c84ef47d662492.tar.xz
yt-local-docker-e4444154785c6cd52c8a3a2bf6c84ef47d662492.zip
config update
-rw-r--r--config.env.example1
-rw-r--r--core/entrypoint.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/config.env.example b/config.env.example
index 43b8bee..6018989 100644
--- a/config.env.example
+++ b/config.env.example
@@ -24,6 +24,7 @@ DEFAULT_COMMENT_SORTING=0
THEATER_MODE=True
DEFAULT_RESOLUTION=1080
+PREFERRED_VIDEO_CODEC=0
PREFER_UNI_SOURCES=True
USE_VIDEO_PLAYER=2
diff --git a/core/entrypoint.sh b/core/entrypoint.sh
index ce8d0e3..6d9be44 100644
--- a/core/entrypoint.sh
+++ b/core/entrypoint.sh
@@ -56,6 +56,8 @@ theater_mode = ${THEATER_MODE:-True}
default_resolution = ${DEFAULT_RESOLUTION:-2160}
+preferred_video_codec = ${PREFERRED_VIDEO_CODEC:-0}
+
prefer_uni_sources = ${PREFER_UNI_SOURCES:-True}
use_video_player = ${USE_VIDEO_PLAYER:-0}