From a8e57e13650d5738b74e274affb577a7d9749a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 10 Oct 2022 01:10:18 +0800 Subject: update patch to yt-local v0.2.3 --- core/0001.patch | 123 ++++++++++---------------------------------------------- 1 file changed, 22 insertions(+), 101 deletions(-) (limited to 'core') diff --git a/core/0001.patch b/core/0001.patch index 3fce942..52e033a 100644 --- a/core/0001.patch +++ b/core/0001.patch @@ -1,8 +1,8 @@ diff --git a/settings.py b/settings.py -index 540d3f7..17429e5 100644 +index 16ec6ff..597a086 100644 --- a/settings.py +++ b/settings.py -@@ -542,6 +542,6 @@ def settings_page(): +@@ -556,6 +556,6 @@ def settings_page(): for func, old_value, value in to_call: func(old_value, value) @@ -133,7 +133,7 @@ index 51ecacd..01a790d 100644 .item-video { diff --git a/youtube/templates/base.html b/youtube/templates/base.html -index b68c250..1f5b332 100644 +index 393cc52..52660f4 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -131,22 +131,6 @@ @@ -160,7 +160,7 @@ index b68c250..1f5b332 100644
diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html -index 294f1df..a4361c3 100644 +index 5a567c0..e363d4e 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -21,14 +21,6 @@ @@ -193,11 +193,11 @@ index bacc513..2773ed6 100644 {% endmacro %} diff --git a/youtube/templates/home.html b/youtube/templates/home.html -index ef1f029..b537cca 100644 +index 0adac56..4a56af2 100644 --- a/youtube/templates/home.html +++ b/youtube/templates/home.html @@ -4,10 +4,4 @@ - + {% endblock style %} {% block main %} - {% endblock main %} diff --git a/youtube/templates/settings.html b/youtube/templates/settings.html -index 7a7ce9e..4749d4c 100644 +deleted file mode 100644 +index a4ebabf..0000000 --- a/youtube/templates/settings.html -+++ b/youtube/templates/settings.html -@@ -5,43 +5,5 @@ - {% endblock style %} - - {% block main %} ++++ /dev/null +@@ -1,47 +0,0 @@ +-{% set page_title = 'Settings' %} +-{% extends "base.html" %} +-{% block style %} +- +-{% endblock style %} +- +-{% block main %} -
- {% for categ in categories %} -

{{ categ|capitalize }}

@@ -223,11 +228,11 @@ index 7a7ce9e..4749d4c 100644 - {% if not setting_info.get('hidden', false) %} -
  • - {% if 'label' is in(setting_info) %} -- +- - {% else %} -- +- - {% endif %} - +- - {% if setting_info['type'].__name__ == 'bool' %} - - {% elif setting_info['type'].__name__ == 'int' %} @@ -254,93 +259,9 @@ index 7a7ce9e..4749d4c 100644 - {% endfor %} - -
  • - {% endblock main %} -diff --git a/youtube/templates/subscription_manager.html b/youtube/templates/subscription_manager.html -deleted file mode 100644 -index 5db5d8d..0000000 ---- a/youtube/templates/subscription_manager.html -+++ /dev/null -@@ -1,78 +0,0 @@ --{% set page_title = 'Subscription Manager' %} --{% extends "base.html" %} --{% block style %} -- --{% endblock style %} -- -- --{% macro subscription_list(sub_list) %} -- {% for subscription in sub_list %} --
  • -- -- {{ subscription['channel_name'] }} -- {{ ', '.join(subscription['tags']) }} --
  • -- {% endfor %} --{% endmacro %} -- --{% block main %} --
    --
    --

    Import subscriptions

    --
    -- -- --
    --
    -- --
    --

    Export subscriptions

    --
    -- -- -- -- --
    --
    --
    -- --
    -- --
    -- {% if group_by_tags %} -- Don't group -- {% else %} -- Group by tags -- {% endif %} -- -- -- -- -- -- -- --
    -- -- -- {% if group_by_tags %} -- -- {% else %} --
      -- {{ subscription_list(sub_list) }} --
    -- {% endif %} -- -{% endblock main %} diff --git a/youtube/templates/subscriptions.html b/youtube/templates/subscriptions.html -index b528e5c..6302fcc 100644 +index 2823e8d..4aefee2 100644 --- a/youtube/templates/subscriptions.html +++ b/youtube/templates/subscriptions.html @@ -13,71 +13,5 @@ @@ -416,7 +337,7 @@ index b528e5c..6302fcc 100644 {% endblock main %} diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html -index 383d7cb..0cdd3f7 100644 +index 4030a18..cfd2c8d 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -93,7 +93,6 @@ -- cgit v1.2.3