aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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}