-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Background player stops responding after disconnecting from car bluetooth #2397
Comments
Try attempting to do this with something like Spotify or any other music streaming app and report results please. Some info about your device might also be helpful. |
Tried with Spotify. Played playlist in car, and shut car off in the middle of the song. After 20 minutes I pressed play and playback resumed as normal. My phone is a Xiaomi redmi note 4x (mido). Additional details. The Newpipe app continues to function after playback stops working. I don't need to kill the whole app to get it to begin working again, I only need to close the background player, then select background play again. |
this might be related to the first issue described in #1989. |
Yes, confirmed. Also happens on my car. I shut it off, the player itself pauses and the controls freeze. I cannot resume playback, the controls do nothing and it only works again if I press "X" on the notification and open a new song/playlist. Note: Not even changing the song on the same playlist do anything. It stays on 0:00 with the play triangle in the middle and that's it. Pressing it does nothing, as described above. Other apps handle that fine
This issue you mentioned isn't related to this one. |
This bug isn't limited to background player, it's breaking main player too when the car is shutoff and the phone loses bluetooth connection. All playback will fail as will reselecting the same video. Can be fixed by loading a different video and then returning to the original content. I will do more testing to confirm it in the popup player as well as check it's effect on playlists |
Update, pausing the video before shutting off the car doesn't help it hold onto the stream. However, disabling bluetooth from the phone before shutting off the car keeps everything working without reloading the video. Maybe a lost bluetooth connection isn't being handled properly? |
reading the release notes of the upcoming ExoPlayer 2.11.5 I have found something interesting: I wonder if this is the cause for the issue, the state might always be in "BUFFERING" instead of "PAUSED", so that when on resuming later the media source is not refreshed properly even though it should, leaving to an endless seek on an invalid source. |
ExoPlayer patched apk doesn't seem to have changed this bug behavior for me |
I can confirm everything what OP said. |
Is this fixed in the apk provided in #3178? |
Initial testing shows indeed that this problem might have been resolved! @Stypox |
Great! Let's close this now, since #3178 will be merged surely |
Dear god I don't even want to imagine the possibility that it won't. :| |
I'm still experiencing this issue with the apk provided in #3178. |
For me the issue still appears to be resolved with the test apk from pr #3178 Can anyone else give feedback? |
@Makaque Could you try the latest debug apk? You can find it from the pinned issue. |
See #4355 (comment) |
I have the same problem. The player suddenly stops and hangs with an endless preloading cycle. |
@Flashwalker the specific issue you are having, i.e. stopping suddenly during playback, may be fixed by 0.20.3. Could you test the RC in the pinned issue? |
@Stypox It got even worse. Stream is lost more often than in the previous version. I have 2 versions installed. |
@Flashwalker currently there is an issue when there are multiple versions installed, try to keep installed only the latest one (0.20.6) |
I'm affected by the same issue, but I'm not familiar with native android development. How can I get around to tackling it? see logs, use debug apk? |
If I shut my vehicle off while streaming youtube over bluetooth on the background player, the media stream can no longer be played. The app doesn't crash, and I can navigate, but I cannot resume play on the background player. Tapping play does nothing. Skipping forward or back in a playlist causes it to move to the next or previous item as expected, but does not begin to play, and tapping play still does not work. Tapping along the media progress slider to attempt to force it to load causes the progress indicator to flash and move forward slightly, then return to the beginning, simultaneously a small black rectangle appears momentarily above the play button.
Sometimes if I shut my car off only briefly, then turn it back on, media will resume play, suggesting the failure happens over some time.
The text was updated successfully, but these errors were encountered: