Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter by lengths of videos on recommended page #2653

Open
AntsKnigs opened this issue Nov 3, 2024 · 1 comment · May be fixed by #2710
Open

Filter by lengths of videos on recommended page #2653

AntsKnigs opened this issue Nov 3, 2024 · 1 comment · May be fixed by #2710
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@AntsKnigs
Copy link

PROBLEM:
I don't want my reccomended to be filled with videos that are less than 2 minutes long, shorts exist for a reason
SOLUTION:
Just make it so i can filter away all the videos that are less than x duration
ALTERNATIVES:
just make a single option that disables all recommended videos shorter than an exact amount of time

RELEVANCE / SCOPE:
Good for people who watch an unhealthy amount of YouTube so like 20%

"SIDE EFFECTS":
Yeah it would proably filter out some actual content thats not slop

CONTEXT:
no
Thank you!

SHORT Table (Summary)
Problem short videos
Solution filter them out
Alternatives filter most of them out
Scope like 20%
Side effects gets rid of some genuinely good videos
Context I'm tired of my recommended page being filled with slop
@AntsKnigs AntsKnigs added Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Nov 3, 2024
@ImprovedTube
Copy link
Member

ImprovedTube commented Nov 15, 2024

hi! @AntsKnigs

#948

Side effects | gets rid of some genuinely good videos

we can try to define query /logic with great detail,
like:
less than 45s OR (less than 120s AND (including (buzzwords OR bad words) OR ...) OR ...


(we could "even" have a custom rule build sooner or later (or is thath (still) too much for most users? youtube refined stopped development at 1000 users)

@ImprovedTube ImprovedTube added the 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) label Nov 17, 2024
ImBIOS added a commit to ImBIOS/youtube that referenced this issue Dec 4, 2024
Fixes code-charity#2653

Add a feature to filter recommended videos by duration.

* Add a new function `filterRecommendedVideosByDuration` in `js&css/extension/www.youtube.com/general/general.js` to filter recommended videos by duration.
* Call `filterRecommendedVideosByDuration` in the `youtubeHomePage` function in `js&css/extension/www.youtube.com/general/general.js`.
* Add a new setting `recommended_videos_min_duration` in `menu/skeleton-parts/player.js` to specify the minimum video duration for recommendations.
* Add logic to store the user's preferred minimum video duration for recommendations in `menu/index.js`.
* Apply the duration filter to related videos in the `relatedVideos` function in `js&css/extension/www.youtube.com/appearance/sidebar/sidebar.js`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/code-charity/youtube/issues/2653?shareId=XXXX-XXXX-XXXX-XXXX).
@ImBIOS ImBIOS linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants