When "Use chapter track" is enabled, the Media Session API now reports
duration and position relative to the current chapter instead of the
full audiobook. This makes the OS lock screen/notification scrubber
span only the current chapter.
- Call setPositionState() with chapter-relative values
- Map OS seek requests back to absolute file position
- Update metadata with chapter title on chapter change
- Fall back to full-file behavior when setting is disabled
* Add SleepTimerTypes for countdown and chapter
* Add functionality for 'end of chapter' sleep timer
* Fix custom time for sleep timer
* Include end of chapter string for sleep timer
* Increase chapter end tolerance to 0.75
* Show sleep time options in modal when timer is active
* Add SleepTimerTypes for countdown and chapter
* Add functionality for 'end of chapter' sleep timer
* Fix custom time for sleep timer
* Include end of chapter string for sleep timer
* Increase chapter end tolerance to 0.75
* Show sleep time options in modal when timer is active
* Sleep timer cleanup
* Localization for sleep timer modal, UI updates
---------
Co-authored-by: advplyr <advplyr@protonmail.com>
* Add playback settings string to en-us
* Add playback settings UI for jump forwards and jump backwards
* Remove jump forwards and jump backwards settings
* Remove jump forwards and jump backwards en-us strings
* Update player UI to include player settings button
* Add label view player settings string
* Add PlayerSettingsModal component
Includes a toggle switch for enabling/disabling the chapter track feature.
* Add player settings modal component to MediaPlayerContainer
* Handle useChapterTrack changes in PlayerUI
* Add jump forwards and jump backwards settings to user store
* Add jump forwards and jump backwards label strings
* Add jump forwards and jump backwards settings to PlayerSettingsModal
* Update jump forwards and jump backwards to handle user state values in PlayerHandler
* Update jump backwards icon in PlayerPlaybackControls
* Add playback settings string to en-us
* Add playback settings UI for jump forwards and jump backwards
* Remove jump forwards and jump backwards settings
* Remove jump forwards and jump backwards en-us strings
* Update player UI to include player settings button
* Add label view player settings string
* Add PlayerSettingsModal component
Includes a toggle switch for enabling/disabling the chapter track feature.
* Add player settings modal component to MediaPlayerContainer
* Handle useChapterTrack changes in PlayerUI
* Add jump forwards and jump backwards settings to user store
* Add jump forwards and jump backwards label strings
* Add jump forwards and jump backwards settings to PlayerSettingsModal
* Update jump forwards and jump backwards to handle user state values in PlayerHandler
* Update jump backwards icon in PlayerPlaybackControls
* Add jump amounts to playback controls tooltips
* Fix merge issues and add new Material Symbols to player ui
* Alphabetize strings in en-us.json
* Update dropdown component with SelectInput to support menu overflowing modal
* Update localization for player settings
* Update en-us strings order
---------
Co-authored-by: advplyr <advplyr@protonmail.com>