aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-09-14 17:20:17 -0500
committerJesús <heckyel@hyperbola.info>2021-09-14 17:20:17 -0500
commitce044e2a7cf1c3ebfc0b3b10f4a434f1c26a985a (patch)
tree53b4fe98817fa896898d749d3ae2b00fb77020b2 /core
parent71d62d232f28b08edbdec4302165fd27f08e90bb (diff)
downloadyt-local-docker-ce044e2a7cf1c3ebfc0b3b10f4a434f1c26a985a.tar.lz
yt-local-docker-ce044e2a7cf1c3ebfc0b3b10f4a434f1c26a985a.tar.xz
yt-local-docker-ce044e2a7cf1c3ebfc0b3b10f4a434f1c26a985a.zip
update
Diffstat (limited to 'core')
-rw-r--r--core/0001.patch14
-rw-r--r--core/entrypoint.sh4
2 files changed, 15 insertions, 3 deletions
diff --git a/core/0001.patch b/core/0001.patch
index aea4c90..7520bef 100644
--- a/core/0001.patch
+++ b/core/0001.patch
@@ -1,5 +1,5 @@
diff --git a/settings.py b/settings.py
-index d222aa9..a7babc8 100644
+index d7112b4..c38b171 100644
--- a/settings.py
+++ b/settings.py
@@ -542,6 +542,6 @@ def settings_page():
@@ -415,3 +415,15 @@ index b528e5c..6302fcc 100644
- </footer>
{% endblock main %}
+diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
+index 84585a2..14f955d 100644
+--- a/youtube/templates/watch.html
++++ b/youtube/templates/watch.html
+@@ -93,7 +93,6 @@
+ </select>
+ {% endif %}
+ </div>
+- <input class="v-checkbox" name="video_info_list" value="{{ video_info }}" form="playlist-edit" type="checkbox">
+
+ <span class="v-direct-link"><a href="https://youtu.be/{{ video_id }}" rel="noopener noreferrer" target="_blank">Direct Link</a></span>
+
diff --git a/core/entrypoint.sh b/core/entrypoint.sh
index 5db47d6..468e11d 100644
--- a/core/entrypoint.sh
+++ b/core/entrypoint.sh
@@ -3,10 +3,10 @@
## Config
if [ ! -d "/root/.youtube-local" ]; then
# make dir
- install -d /root/.youtube-local
+ install -d /root/.yt-local
# generate config
- cat > /root/.youtube-local/settings.txt <<- EOF
+ cat > /root/.yt-local/settings.txt <<- EOF
# Set app public mode, disabled by default
app_public = ${APP_PUBLIC:-False}