Plexamp android now playing live notification not updating

As title states, when the song changes to the next one, the now playing live notification in the notification area, lock screen, etc. won’t update, and will just continue to show the previous song. at some point it will update but to an outdated song. interacting with the notification sometimes helps, but sometimes even pressing skip can result in the next song starting to play without the notification updating at all. This is similar (or identical) to these issues i’ve seen reported, going back a couple of years:

On a Samsung S25 Ultra, Android 15 (OneUI 7.0), Plexamp v4.12.4 - all battery optimization is turned off as far as i know (app info → settings → battery → unrestricted, and settings → battery → power saving off, background usage limits → put unused apps to sleep off, Plexamp added to never auto sleeping apps)

This doesn’t happen with any other media player i tried, even when they do have the battery saving features enabled (personally just now tested Spotify, Tidal, Deezer, YouTube, YouTube Music, and VLC). I do believe this to be a Plexamp issue first and foremost, and not a user or Samsung issue, since Plexamp appears to be the only app to have this issue. I did just move from a Google Pixel 6 Pro where the live notification appeared to function correctly, so the issue appears not to be Android-wide and probably is contained to just Samsung, but it must be something to do with the way Plexamp is set up that means that it doesn’t function correctly since other apps do get this right despite the battery optimizations that have been blamed in the other threads being active on them - it seems like for years now the battery optimizations that are constantly blamed are not the true culprit (or at least not the sole culprit).

I’ve attached my Plexamp logs, not sure if any other logs are required or would be helpful, please let me know, as i’d just like to see this issue resolved if at all possible.
Share Debug Logs.zip (261.5 KB)

In almost all cases I’ve heard of (especially involving Samsung) there is a battery/energy saving feature which is enabled. Plexamp is more “vulnerable” to being targeted by this overaggressive system behavior, so the part of the app which keeps track of current track/notification is put to sleep.

hi elan, i’ve seen you put this sort of response on the threads I linked, and in those cases, as with here, it appears this answer isn’t sufficient. i’ve stated the battery optimizations are turned off already (along with exactly which settings), and that six other media players do not have this issue even with the battery optimizations turned on. I don’t think this blanket “it’s Samsung’s fault” response cuts it to be honest. i’d appreciate it if someone could genuinely look into solving this issue, as while i’m sure it is obviously something specific to Samsung, other developers have still managed to implement this feature properly and fully on Samsung, it’s Plexamp that’s the outlier.

Plexamp is the outlier because it’s a React Native app, so the logic to update currently playing track is running in JS, not in a service.

Unfortunately it’s the only answer I have at the moment, Samsung is notorious for being over-aggressive with battery optimization.

That’s unfortunate, I hope you can have someone look into this (sooner rather than later, it has been years after all) and maybe change the way that logic is handled to better work on Samsung phones in an update in the near future. Would not like the answer to continue to be that it’s just “the way it’s been done on Plexamp” or similar. Thanks for the additional info on the cause of the issue