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

Replace deprecated EventListener with Listener #1555

Merged
merged 1 commit into from Mar 23, 2022

Conversation

DavidFair
Copy link
Contributor

Changes
Follows the documentation examples for replacing EventListener. The main
change is dropping the custom logic from "onPlayWhenReadyChanged" to
"onIsPlayingChanged" which handles the pause logic.
This is recommended in
https://exoplayer.dev/listening-to-player-events.html#playback-state-changes

Part of the work in #1547

Follows the documentation examples for replacing EventListener. The main
change is dropping the custom logic from "onPlayWhenReadyChanged" to
"onIsPlayingChanged" which handles the pause logic.
This is recommended in
https://exoplayer.dev/listening-to-player-events.html#playback-state-changes
@nielsvanvelzen nielsvanvelzen added this to In progress in v0.14.0 via automation Mar 23, 2022
v0.14.0 automation moved this from In progress to Reviewer approved Mar 23, 2022
@nielsvanvelzen nielsvanvelzen merged commit d0fba48 into jellyfin:master Mar 23, 2022
v0.14.0 automation moved this from Reviewer approved to Done Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.14.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants