-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 'ask to skip' to media segments #6196
Conversation
Cloudflare Pages deployment
|
b8d61ed
to
b627667
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice if we kept this implementation consistent with ATV (jellyfin/jellyfin-androidtv#4068):
- Name the action ÄskToSkip"
- Only show for segments with duration of 3 seconds or more
- Auto-hide after 8 seconds
- Skipping does nothing if there is only 1 second left in the segment (just like the normal skip action)
Good point. And it already checks for segments <3s. |
We have jellyfin-web/src/controllers/playback/video/index.js Lines 669 to 684 in 50dd1fb
I thought we could extract it as PlaybackSubscriber , but it could be merged to MediaSegmentManager .
|
Do you suggest we use the |
🤔 Not for all segments, for sure. I like simple buttons for general case. |
I do like the idea of using the up next dialog over the current "Next Episode" button for outro segments as there is a possibility these could clash with each other currently. Since I believe this dialog shows up 30s before the runtime, we can keep that behaviour as is, but also show the dialog on outro segments that result in the next track. This won't eliminate the clashing possibility completely, but it's acceptable. |
If skipping a segment leads to playing the next episode, I think it's sensible to re-use the dialogue - but with a different text to properly indicate the skipping |
The into skipper works as expected. I don't have media with outro segments, so i have not tested that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint doesn't pass. Please fix all ESLint issues.
Quality Gate passedIssues Measures |
Skip prompts work for all segment types. As does the prompt to start the next episode for outro segments. |
(Does not support TV OSes just yet)
The button appears for 6 seconds, and can be shown again by moving the mouse to unhide the OSD panel.
Testing appreciated.
Changes
Screenshots
Issues