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

[Feature]: Feature Request: Native Skip Intro/Outro Support for Community-Driven Detection #821

Open
1 task done
rico-rodriguez opened this issue Feb 5, 2025 · 7 comments
Labels
enhancement Current feature enhancement

Comments

@rico-rodriguez
Copy link

Feature Description

I've developed a community-driven intro/outro detection system (IntroHater) that identifies skip-worthy segments in TV shows. The system is fully functional but needs native player support to be useful to users.

The Problem:

  • Users have to manually skip through intros/outros while binge-watching
  • No way to mark or automatically skip known intro/outro segments

The system already:

  • Collects and validates user-submitted timestamps
  • Processes and verifies segments using statistical analysis
  • Delivers accurate skip points through a Stremio addon

TLDR: Add auto-skip functionality for intros/outros in Stremio. I've built a working system that knows exactly where these segments are - just need the player to automatically skip them, similar to how YouTube Premium auto-skips sponsored segments.

Proposed Solution

Add native support for skip segments in Stremio's player:

  1. Player Integration (options):
  • Add skip button overlay when approaching known segments
  • Display markers on the timeline for skip points
  • Add auto-skip toggle in settings
  1. Technical Implementation:
    The addon already provides the data in this format:
stream.behaviorHints.skipSegments = [{
  startTime: segment.start,
  endTime: segment.end,
  type: segment.type
}];
stream.behaviorHints.autoSkipSegments = true;

Just needs player support to utilize this data structure.

Additional Context

Example of current working segment data:

{
  "type": "intro",
  "start": 5,
  "end": 8,
  "confidence": "1.00",
  "sampleSize": 3,
  "totalSubmissions": 3,
  "score": 8.5
}

The backend infrastructure is complete with:

Firebase database storing verified segments
Statistical processing to ensure accuracy
Rate limiting and spam prevention
Community submission validation

Happy to provide more technical details or collaborate on the implementation!

Additional Context or Screenshots

Image

Some validation logic:

Image

Image

If 'Submission' of segments is too convoluted for the Stremio UI, it could be handled by a web UI (would be cleaned up):

Image

The primary concern is allowing support for a segment to be skipped via addon functionality.

Code of Conduct

  • I agree
@rico-rodriguez rico-rodriguez added the enhancement Current feature enhancement label Feb 5, 2025
@jaruba
Copy link
Member

jaruba commented Feb 5, 2025

The primary concern is allowing support for a segment to be skipped via addon functionality.

this is enough to not accept such a proposal, giving addons the ability to affect a user's watching experience is way too risky, what if someone from the community wants to be paid for this addon, and then decides to skip 30 mins of any video randomly to make you aware that you didn't pay...

i think there would be better ways to do this that are not this convoluted or dangerous

@rico-rodriguez
Copy link
Author

rico-rodriguez commented Feb 5, 2025 via email

@jaruba
Copy link
Member

jaruba commented Feb 5, 2025

well the issue of trust is not due to pollution, it is due to the addons which can be changed to be mailicious at any moment in time

Stremio's principle for security is that the addons do not have enough power to cause any harm to the users, our user's safety is our primary concern, yet we have had cases where addon configuration pages had very abusive ads, there are many that are trying to profit from Stremio's popularity these days and many from those that have malicious intent

i'm afraid that this feature will not be added for addons, the only way that it could happen is if it is built in-house and offered through Stremio official servers only

@rico-rodriguez
Copy link
Author

rico-rodriguez commented Feb 5, 2025 via email

@jaruba
Copy link
Member

jaruba commented Feb 5, 2025

if you want to try to work on this officially you can fill in an internship form, there is a link on this page:
https://www.stremio.com/community

and confirm when u did so, we will get back to u and we can schedule a call to discuss this subject and if you believe you can help implement this within the Stremio official infrastructure

@Viralpoke
Copy link

@jaruba This seems something like what sponsor block does on youtube it would be amazing to have.

what if someone from the community wants to be paid for this addon, and then decides to skip 30 mins of any video randomly to make you aware that you didn't pay...

plz dont reject all good things citing our users are to incompetent to uninstall an add-on

@jaruba
Copy link
Member

jaruba commented Feb 5, 2025

i did not reject the feature request, and never said that it is not possible, i also never said that it won't be solutioned, i simply said that it won't be done through addons, which i still insist upon

if talented / qualified developers are willing to work with our team on an official implementation it may become a reality, which is why i invite such developers to fill in the internship form so we can discuss it

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

No branches or pull requests

3 participants