Add chapter selection to OSD#5011
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Possible to add on 10.9 ? |
|
The 10.9 release is currently prepared and no more features are added: https://jellyfin.org/posts/testing-10.9.0 |
This comment has been minimized.
This comment has been minimized.
|
That error is an artifact of our weird dialog code that rejects when closed... a couple places depend on it though so probably just need a catch to suppress it here. |
|
The settings, audio selection and subtitle selection are also affected by this. .catch(() => {
// prevent 'ActionSheet closed without resolving' error
})or only the .catch((error) => {
// supress 'ActionSheet closed without resolving' error
// log and throw all other errors
if (error !== 'ActionSheet closed without resolving') {
console.error('ActionSheet error', error);
throw new Error(error);
}
})just let me now and I will provide a fix for this. |
|
I would just catch all for now. |
prevent error when ActionSheet dialog is closed without selection
|
Cloudflare Pages deployment
|
1hitsong
left a comment
There was a problem hiding this comment.
Tested in Windows 11.
Functionality works well. Code looks good.
Possible followup idea: Display the chapter images to the side of the chapter names.
|
since this didn't make the cut for 10.10, any plans to add it in 10.11 ? |
|
Thanks for your patience @TheMelmacian! I will see if our UI/UX lead has feedback. |
|
Sorry again for the delay on this. I reviewed the change with our ui/ux lead and I think we are going to hold off and add this functionality as part of the full redesign effort. |
|
As long as the redesign is planned for the next major release, I have no problem with that. |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
|
I strongly value this chapter list feature as someone who frequently seeks a particular moment in my media, such as a specific performance from a four-hour concert. Is there an ETA for the full redesign effort that would include this feature? |
Sadly the redesign wasn't completed with 10.11.z and we still have to wait for this feature. |
|
It's fair to say the redesign work has stalled a bit... In light of that can you help me understand what need this is trying to solve? Chapters are already listed on the item details screen and in the video player timeline (similar to YouTube and other streaming platforms). What is the advantage in displaying them in a third way/place? |
|
The later added "chapters on timeline" feature was never an argument against this PR. Only that the same feature would be part of the redesign.
See other comments:
I don't see any chapter information on the item details screen. I'm not sure where they're supposed to be. |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|





Changes
I added a selection menu to the OSD which allows to directly select a chapter.
It shows the number, chapter name and the start time.
If no name is set, a name in the form
Chapter 01is generated.Th currently active chapter is calculated based on playtime and chapter start/end times and shown in the menu.
To prevent the volume from changing when scrolling through the menu, the mouse wheel listener is deactivated while the menu is visible.Edit: This was fixed with #5401, so I adjusted my code accordingly.
For the button I used the ordered list icon:
