Jellyfin-android: Music sometimes doesn't advance to the next playlist entry

Created on 1 Nov 2020  路  9Comments  路  Source: jellyfin/jellyfin-android

Describe the bug
When the app is playing music in the background sometimes playback stalls at the end of song and doesn't advance to the next song. When unlocking the phone and opening the app at this time I see client being sure that the song is still "playing" (not stopped, not paused) and the music timer stuck at the last or the previous-last second.

To Reproduce
This is not easily reproducible. I notice this when the song is allowed to play from the beginning to the end (phone locked, music plays in the background). Using the progress bar to advance the music forward usually results in things working as they should.

System (please complete the following information):

  • App version: 2.0.1
  • Android version: Android 10
  • Device manufacturer and model: Xiaomi Mi A3
  • Jellyfin server version: 10.6.4
bug upstream wontfix

Most helpful comment

The Android app is mostly maintained by @Maxr1998 and me. Both of us are busy with other things. The fully native client is in a separate branch on this repository but it's very early stage.

All 9 comments

Screenshot of the stuck playback (the playback has been stuck for well above 30 seconds):
Screenshot_20201101-155017

At this point clicking "Pause/Play" will cause the playback timer to reset to zero. Subsequent presses to "Play/Pause" button will do nothing. It's only possible to "unstick" the playback by using the seek-bar or use the Next/Previous buttons.

More observations:
This issue never happens when the app is playing music in foreground.
Once the playback is stuck, the device is no longer visible as "active" in the server dashboard.

I have bee experiencing exactly the same for quite some time now. I was hoping this would be fixed in new releases but so far it still happens.

Using LineageOS 17 and Jellyfin Beta

Having the same problem with OOS and jellyfin stable

This is probably caused by the handling of webviews in Android and the webclient itself. We can't fix this, but it won't be an issue anymore once we have a fully native client, which is in the works.

In the meantime, I suggest using Gelli for music playback.

This is probably caused by the handling of webviews in Android and the webclient itself. We can't fix this, but it won't be an issue anymore once we have a fully native client, which is in the works.

In the meantime, I suggest using Gelli for music playback.

Thanks!

We can't fix this, but it won't be an issue anymore once we have a fully native client, which is in the works.

Just wondered what sort of timescale we are looking at for the native client?

Thanks!

At least not any time soon

Oh ok 鈽癸笍

At least not any time soon

Is there something holding it up, or is the focus just on the video player for now?

The Android app is mostly maintained by @Maxr1998 and me. Both of us are busy with other things. The fully native client is in a separate branch on this repository but it's very early stage.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

P-Daddy picture P-Daddy  路  6Comments

timonoj picture timonoj  路  4Comments

nielsvanvelzen picture nielsvanvelzen  路  6Comments

Aerion picture Aerion  路  3Comments

sheckandar picture sheckandar  路  3Comments