Playlist position is not being saved properly?

Issue description:

I have been noticing an intermittent issue where my Plex playlist position either doesn’t seem to save, or it gets reset when I go to play it.

I turn off the media device when I am not using it, and turn it back on when I do. Most of the time it plays fine after startup, sometimes it forgets it was playing the playlist (so I have to go resume it, which is another odd but separate issue), but recently it sometimes doesn’t even go back to the same position it was stopped at (which is pretty annoying since I don’t have a great memory).

But very recently (over a few days), upon playing it, I noticed it reset the position a few times in a row (I did not resume it or play it manually, it was automatically resuming upon plugging in my 3.5mm jack). Once, I even noticed it happened between errands!

Again, not a great memory, so scrubbing through to try to manually find my position is pretty annoying. But these last few times were (unfortunately) easy to notice there’s something wrong happening.

And then finally today I had it happen when debug mode was turned on.

Logs:

Upload description: Through device

 

Media provider:

Plex

Can you try to better describe your issue ?

Your issue is about pressing play button after the device was off? Or starting again the same playlist? And how do you start the playlist ?

My issue is that Symfoniums sometimes loses my playlist position on startup.

I’ll try to condense the points:

  • Android music player that get’s auto-shutdown every day (to save battery). So, app has to boot up after device boots up.
  • It also has it’s wifi kept off to save battery (I am not sure if this contributes).
  • My playlist is a downloaded one from Plex, randomized once (I think it keeps the order, but the first song is always the same).
  • Most of the time, upon opening Symfonium, it will continue the playlist where it left off.
  • Sometimes, Symfonium won’t remember it was playing the playlist (but it’s easy to manually resume it). Never had it reset the position this way though. This is a separate minor issue, just to be clear.
  • And then other times (intermittently), Symfonium remembers it was playing the playlist, but starts it from the beginning.
  • I have it set to auto-play when 3.5mm jack is plugged in. So, when the issue happens, I am not the one manually hitting play. All I do is re-open the app after the device boots back up. The app resumes it once it is loaded up enough and detects the 3.5mm jack.

Hopefully the logs I sent have something in them indicating that the list was loaded but position wasn’t (and why). The issue happened a few hours before I uploaded them.

Not really the logs shows that there was an attempt to press the resume button in the playlist.

What do you mean by position lost? The active song or the position in the song ?

The active song. It went back to the very first one in the playlist… again.

If I manually pressed “Resume” in the logs, it was because it forgot it was playing my playlist upon startup (which is another issue, but one that doesn’t reset my position).

Ok so automatic resume after app kill start at first song but manually resume works.

Will try to repro that then.

Ok, just restarted my device a bunch of times to try and recreate this and I have somewhat recreated the bug a few times in a row. Force Stopping the app did NOT have the same effect as restarting my device.

  • Set “Headphone Auto Play” on in Symfonium.
  • Plug in 3.5mm jack into device.
  • Play Plex playlist (all media is downloaded offline) to not the first song.
  • Restart device.
  • Open app.
  • Observe that sometimes the playlist will automatically resume to the wrong song.

It might be a race condition when the app tries to automatically resume the playlist while the 3.5mm jack is in and it’s setting is to resume when it detects it…

…BUT I found something interesting manually resuming the playlist a bunch of times in a row; it doesn’t always resume at the right song. It resumed to the beginning song, and it also resumed to the desired song. I don’t understand what it’s doing, it almost feels like a broken queue system lol

But there’s a chance that resuming a (offline) Plex playlist has a bug, contributing to the above behaviour.

Also, I just re-uploaded the logs if they’ll help. Mainly just me trying to recreate the bugs I found.

Ok so just to be sure the headset is already plugged when you restart the device and open the app after or you plug the headset?

That seemed to be the best way to recreate the bug, yes.

Ok so it’s the same issue as the others, don’t understand why the OS sends the play command in that case, but the race will be fixed.

And the odd behaviour I saw when resuming the Plex playlist?