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

Fix app crash when switching users while playing music #1848

Merged
merged 1 commit into from
Jul 16, 2022

Conversation

nielsvanvelzen
Copy link
Member

Issue found during final testing phase for 0.14. When music is playing while switching sessions the app would crash because it tried to report the music stopping to the server. At this point the session is already cleared so it caused an NPE.

Changed to check if the session is null and do nothing in that case. The music stopping is now not reported so the server does think the client is still playing, but this will timeout eventually.

Proper fix in playback rewrite at some point in time

Changes

  • Fix app crash when switching users while playing music

Issues

@nielsvanvelzen nielsvanvelzen merged commit a97c547 into jellyfin:master Jul 16, 2022
@nielsvanvelzen nielsvanvelzen deleted the music-crash branch July 16, 2022 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants