findroid
findroid copied to clipboard
feat: 10.10 Media segments
[!WARNING] The old Intro Skipper integration has been removed. The Intro Skipper plugin supports the new MediaSegmentsApi only on Jellyfin 10.10 or higher.
Add
-
Jellyfin 10.10 MediaSegments support
-
Auto Skip toggle
-
Auto Skip options (Mobile only):
- only in pip
- always (default on TV)
-
Skip to the next episode if there's no post credit scene
-
Show the skip buttons for a specified duration in seconds
-
Decide which types of segments should display a skip button or enable auto-skip.
-
AndroidTV skip button
-
AndroidTV auto skip
Issues
Closes #851 Closes #834 Fix #833 Closes #931
It would be huge if this gets merged
@Cd16d Hi, thanks a lot for keeping this updated with the Compose rework. It is greatly appreciated!
Could you split of the new preference components and related code into a seperate PR? It is easier to review and merge smaller PRs than big ones. :slightly_smiling_face: The preferences code should be reviewed and merged first. After that I will review and merge this PR.
The plan is to merge everything before the next release.
Hi @jarnedemeulemeester, I've created a new pull request (#1019) for the Multi Select Preference. Looking forward to the next release! 🚀
@Cd16d I have merged the Multi Select Preference PR. Once this PR has been updated to use the new preference components I will review it. 🙂
I've tested the changes, and they should work. The integration of the button with Android TV is basic, but it functions properly.
I made a few changes:
- Added a database migration
- Moved the segments retrieval to the PlayerActivityViewModel instead of while preparing the items.
- Push the skip button text string resource with the player UiState.
- Made some stuff non nullable.
- Some refactoring.
I believe this is ready to merge now!
Fixed an issue where the button remained visible in the layout. Ready to merge!