diff options
author | Astound <kirito@disroot.org> | 2024-01-28 01:55:11 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-01-28 01:55:11 +0800 |
commit | 9dba53d4ed991e2739f4b14f2223c4feb224b0ec (patch) | |
tree | b79bd6f95b4e74c655a60b4d3dfe1cdf6d2502e8 | |
parent | 56589294d6051cd6960b3a494c755fe24bb0d65b (diff) | |
download | yt-local-docker-9dba53d4ed991e2739f4b14f2223c4feb224b0ec.tar.lz yt-local-docker-9dba53d4ed991e2739f4b14f2223c4feb224b0ec.tar.xz yt-local-docker-9dba53d4ed991e2739f4b14f2223c4feb224b0ec.zip |
update to yt-local v0.2.7
-rw-r--r-- | config.env.example | 3 | ||||
-rw-r--r-- | core/0001.patch | 12 | ||||
-rw-r--r-- | core/Dockerfile | 2 | ||||
-rw-r--r-- | core/entrypoint.sh | 6 |
4 files changed, 13 insertions, 10 deletions
diff --git a/config.env.example b/config.env.example index 7bf62bc..e48b533 100644 --- a/config.env.example +++ b/config.env.example @@ -23,11 +23,12 @@ ENABLE_COMMENTS_AVATARS=True DEFAULT_COMMENT_SORTING=0 THEATER_MODE=True +AUTOPLAY_VIDEOS=True DEFAULT_RESOLUTION=1080 CODEC_RANK_H264=3 CODEC_RANK_VP=2 CODEC_RANK_AV1=1 -PREFER_UNI_SOURCES=True +PREFER_UNI_SOURCES=1 USE_VIDEO_PLAYER=2 USE_VIDEO_DOWNLOAD=0 diff --git a/core/0001.patch b/core/0001.patch index 52e033a..107728b 100644 --- a/core/0001.patch +++ b/core/0001.patch @@ -1,8 +1,8 @@ diff --git a/settings.py b/settings.py -index 16ec6ff..597a086 100644 +index eb210c5..fce9c56 100644 --- a/settings.py +++ b/settings.py -@@ -556,6 +556,6 @@ def settings_page(): +@@ -589,6 +589,6 @@ def settings_page(): for func, old_value, value in to_call: func(old_value, value) @@ -11,7 +11,7 @@ index 16ec6ff..597a086 100644 else: flask.abort(400) diff --git a/youtube/__init__.py b/youtube/__init__.py -index 3604b21..0a2d363 100644 +index 64aed56..437c5ad 100644 --- a/youtube/__init__.py +++ b/youtube/__init__.py @@ -14,9 +14,6 @@ yt_app.url_map.strict_slashes = False @@ -115,7 +115,7 @@ index e4e9c8b..8acb9b1 100644 .item-video { diff --git a/youtube/static/watch.css b/youtube/static/watch.css -index 51ecacd..01a790d 100644 +index 849e22b..701637f 100644 --- a/youtube/static/watch.css +++ b/youtube/static/watch.css @@ -412,11 +412,9 @@ figure.sc-video { @@ -160,7 +160,7 @@ index 393cc52..52660f4 100644 <main class="main"> diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html -index 5a567c0..e363d4e 100644 +index c43f488..bd0f733 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -21,14 +21,6 @@ @@ -337,7 +337,7 @@ index 2823e8d..4aefee2 100644 {% endblock main %} diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html -index 4030a18..cfd2c8d 100644 +index 9cf9657..04f2683 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -93,7 +93,6 @@ diff --git a/core/Dockerfile b/core/Dockerfile index eeac5e7..9fdbebe 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -1,4 +1,4 @@ -FROM index.docker.io/python:3-alpine AS base +FROM index.docker.io/python:3.11.7-alpine3.19 AS base LABEL MAINTAINER="heckyel@riseup.net" # Image to Build Dependencies diff --git a/core/entrypoint.sh b/core/entrypoint.sh index d624a67..00c9687 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -54,13 +54,15 @@ default_comment_sorting = ${DEFAULT_COMMENT_SORTING:-0} theater_mode = ${THEATER_MODE:-True} +autoplay_videos = ${AUTOPLAY_VIDEOS:-True} + default_resolution = ${DEFAULT_RESOLUTION:-2160} codec_rank_h264 = ${CODEC_RANK_H264:-3} codec_rank_vp = ${CODEC_RANK_VP:-2} codec_rank_av1 = ${CODEC_RANK_AV1:-1} -prefer_uni_sources = ${PREFER_UNI_SOURCES:-True} +prefer_uni_sources = ${PREFER_UNI_SOURCES:-1} use_video_player = ${USE_VIDEO_PLAYER:-0} @@ -87,7 +89,7 @@ gather_googlevideo_domains = ${GATHER_GOOGLEVIDEO_DOMAINS:-False} debugging_save_responses = ${DEBUGGING_SAVE_RESPONSES:-False} # Do not change, remove, or comment out this value, or else your settings may be lost or corrupted -settings_version = 3 +settings_version = 5 EOF fi |