lamarios / clipious

Invidious client for android
GNU Affero General Public License v3.0
873 stars 30 forks source link

Fix the way video whitelisting is done in Video filtering #506

Open arkydon opened 5 months ago

arkydon commented 5 months ago

Is your feature request related to a problem? Please describe. "Video filters" has an option to block or allow only videos with certain keywords.

Blocking videos that contain certain keywords is straightforward and works the way you expect. But blocking videos that don't contain certain keywords has not been implemented right. When you add a keyword like "minecraft" and set the filter option to "contains" it will only show videos with minecraft in their title. The problem is when you add more whitelist keywords like example: "terraria", the app will block all videos that don't contain BOTH "minecraft" and "terraria" in their titles.

Describe the solution you'd like The way it should work: when we add multiple separate keywords with the "contains" operation it should block videos/channels that don't contain atleast one of the keywords. Eg. Adding "minecraft", "terraria", "GTA" separately will block videos that dont contain "minecraft" OR "terraria" OR "GTA" in the title. Eg. Adding "minecraft education" and "terraria" will block all videos that don't have "minecraft education" or "terraria" in their titles.