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

Add ability to filter for video/content duration [Feature] #6495

Open
Venkman42 opened this issue May 25, 2024 · 10 comments
Open

Add ability to filter for video/content duration [Feature] #6495

Venkman42 opened this issue May 25, 2024 · 10 comments

Comments

@Venkman42
Copy link

Hi there, it would be great if there was an option to filter YouTube Videofeeds by Video duration.

In FeedMe Reader on Android, when switched to podcast view, the duration is being displayed, so the information should be there i guess

@Alkarex
Copy link
Member

Alkarex commented May 25, 2024

@cn-tools
Copy link
Contributor

I added a new feature, so you can filter out videos by duration.
It's a first version so check out the branch YT-shorts and give me a feedback, please.

After that i will merge it into the master branch

@Venkman42
Copy link
Author

I imported it and enabled it, but I can't switch it from "standard" to "block" in the extension settings. I mean I can, but it doesn't get saved and there is no save button

@cn-tools
Copy link
Contributor

@Venkman42 could you post a screenshot of the settings page of this extension please

i tried it a few seconds ago, i have a save button and my settings are saved right

@Venkman42
Copy link
Author

@cn-tools Sure. I took it from my phone in desktop mode, but it looks the same on my laptop.
I also tried restarting FreshRSS and using another skin, but no difference

Screenshot_20240531_131942_Brave

@Venkman42
Copy link
Author

I also can't enter anything in the duration in seconds field

@cn-tools
Copy link
Contributor

sh*t ... sorry, but i can reproduce it ... give me a few hours

@cn-tools
Copy link
Contributor

@Venkman42 update the extension to the latest version from this branch please

i'm waiting for your feedback

@Venkman42
Copy link
Author

@cn-tools okay, now I can enter seconds and save. I set it to "block" and the duration to 300 seconds, but shorts are still being displayed in my feeds after updating them. I also tried adding a new Channel, but shorts were still being displayed

Here another screenshot
Screenshot_20240531_182504_Brave

@cn-tools
Copy link
Contributor

you need a URL to an active instance of youtube-operational-api too.
Without this third-party-software it's not able to detect shorts and i haven't the duration of the video.

You can host your own instance of it or maybe the owner of youtube-operational-api provide an instance. Please look on there website.

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

No branches or pull requests

3 participants