-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Coonecting or disconnecting a bluetooth keyboard stop playback #1486
Comments
Does the system play a sound when you connect/disconnect the keyboard? If so, it's likely the audio focus loss that stops playback. Currently we don't handle transient audio focus loss and allow playback to pause then resume if focus is regained quickly. |
No sound |
I have the same exact issue. I have Jellyfin v0.13.0-beta.5 I have played with this for some time now, I have tried other players "VLC media player, MX Player and etc." Every external player works fine within Jellyfin and outside of Jellyfin. |
Assuming the issue is related to audio focus, it's likely that a fix won't come until the playback rewrite is ready. Prior to the rewrite, I fix would require a non-trivial redesign anyway to get things functional. The reason being that switching to using media sessions is the right way to properly handle the variety of playback interrupting events that may occur. Doing that with the current design of the playback code isn't practical. @ACR-Jeff the log you provided doesn't show any log output from the jellyfin app. If you could re-record it then I'll check again. With logs we may find a fix is feasible right away. |
Oh sorry about that. I am used to doing it on a different device, I believe I have it figured out now. Hope this helps solve this issue. Thank you I went through each player two different times to make sure the logs caught everything as best as possible. Hope this helps. |
From those logs it does look like the issue is caused by losing audio focus. |
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media. |
I'm facing the same problem. |
I have the same problem when my keyboard disconnects itself or when I switch it off. It's very annoying, and the alternative I've found is to download the application on my cell phone that lets me control the box like a remote control. |
Describe the bug
Start playback
Connect or disconnect a bluetooth keyboard (only tested with a keyboard)
Playback stop
playback should continue when a bluetooth device get connected or disconneted as most of them have a idle disconnect / power off
Maybe related to #1061
adb.log
Logs
No response
FFmpeg logs
No response
Media info of the file
No response
Application version
0.13.0-beta.4
Device information
Nvidia Shield Pro 2019
Android version
Android 11
Jellyfin server version
10.7.7
The text was updated successfully, but these errors were encountered: