Skip to content

feat: add option to filter Shorts / videos under 1 minute (#5688)#5702

Open
Sushanth012 wants to merge 1 commit into
iv-org:masterfrom
Sushanth012:master
Open

feat: add option to filter Shorts / videos under 1 minute (#5688)#5702
Sushanth012 wants to merge 1 commit into
iv-org:masterfrom
Sushanth012:master

Conversation

@Sushanth012
Copy link
Copy Markdown

Summary

Adds a user preference to hide YouTube Shorts / videos under 1 minute from subscription feeds and search results.

Changes

  • Added filter_short_videos boolean preference (default: false)
  • Filters out videos with length_seconds < 60 when preference is enabled
  • Added checkbox in user preferences UI: "Hide Shorts / videos under 1 minute"

Related

Closes #5688

@acheong08
Copy link
Copy Markdown

In subscriptions, shorts are length == 0. Hiding videos under 1 minute will hide legitimate videos too. I think this should be a filter for search, but subscriptions length_seconds != 0 is sufficient.

There is a side effect of not just shorts being hidden but also livestreams since they appear as 0 as well.

@FMGordillo
Copy link
Copy Markdown

I pulled your branch, compiled everything under docker-compose.yml and I see the option in the Settings menu

image

I activate the option, and then click on "Save preferences"

image

I see the payload being submitted, but I still see shorts on my feed

When I came back to the Settings page I still see the option unchecked

Is this ready for merge or am I missing something?

@FMGordillo
Copy link
Copy Markdown

FMGordillo commented May 25, 2026

In subscriptions, shorts are length == 0. Hiding videos under 1 minute will hide legitimate videos too. I think this should be a filter for search, but subscriptions length_seconds != 0 is sufficient.

There is a side effect of not just shorts being hidden but also livestreams since they appear as 0 as well.

Also see #5609 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Disable shorts or videos less than 1minute?

3 participants