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

Initial subtitle support in playback rewrite #3564

Merged
merged 5 commits into from
May 10, 2024

Conversation

nielsvanvelzen
Copy link
Member

Changes

  • Read items to play from legacy video queue
    Replaces the "play single item" behavior. There's still some cases where it won't play next episodes because of the weird queue behaviors in the old player.
  • Remove interceptPlayRequest
  • Add basic lifecycle events to PlaybackRewriteFragment
    Basically, stop playback when closing player
  • Use screensaverLock in PlaybackRewriteFragment
    Don't show screensaver while playing
  • Add initial subtitle implementation
    Uses the subtitle rendering from ExoPlayer (for text cues) and does not use our bad custom renderer.

Issues

Part of #1057

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request playback Issue related to media playback labels May 10, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone May 10, 2024

return true
}
override fun getPlaybackDestination(itemType: BaseItemKind?, position: Int) = Destinations.playbackRewritePlayer(position)

Check warning

Code scanning / detekt

Line detected, which is longer than the defined maximum line length in the code style. Warning

Line detected, which is longer than the defined maximum line length in the code style.
@nielsvanvelzen nielsvanvelzen merged commit 4c95258 into jellyfin:master May 10, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the playback-20240510 branch May 10, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback Issue related to media playback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants