From 780dd0aee18d5d3828ad67f9baf26347dae150b4 Mon Sep 17 00:00:00 2001
From: inotia00 <108592928+inotia00@users.noreply.github.com>
Date: Sun, 15 Sep 2024 22:29:20 +0900
Subject: [PATCH] feat(YouTube/Hide feed components): selectively hide video by
views for Home / Subscription / Search
---
.../youtube/settings/host/values/strings.xml | 16 ++++++++++++++--
.../youtube/settings/xml/revanced_prefs.xml | 9 ++++++---
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index 9ed9866a0..27302ce14 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -276,8 +276,15 @@ Limitations:
View count filter
- Hide recommended videos by views
- Hide recommended videos with less than a specified number of views.\n\nKnown issue: Videos with 0 views are not filtered.
+ Hide home videos by views
+ Videos in home feed are filtered.
+ Videos in home feed are not filtered.
+ Hide search results by views
+ Search results are filtered.
+ Search results are not filtered.
+ Hide subscription videos by views
+ Videos in subscriptions feed are filtered.
+ Videos in subscriptions feed are not filtered.
Greater than views
Videos with views greater than this number will be hidden.
Less than views
@@ -285,7 +292,12 @@ Limitations:
View keys
Specify your language template for the number of views shown under each video in the user interface. Each key (a letter/word in your language) -> value (meaning of the key) must be on a new line. Keys go before "->" sign. If you change the app or system language you need to reset this setting.\n\nExamples:\nEnglish: 10K views = K -> 1000, views -> views\nSpanish: 10 K vistas = K -> 1000, vistas -> views
K -> 1 000\nM -> 1 000 000\nB -> 1 000 000 000\nviews -> views
+ About view count filtering
+ "Home / Subscription / Search results are filtered to hide videos with views less or greater than a specified number.
+Limitations:
+• Shorts cannot be hidden.
+• Videos with 0 views are not filtered."
General
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index 0547a1033..bcfd4e08b 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -78,18 +78,21 @@
-
-
+
+
-
+
+
+
+