First of all, amazing app. Thank you for providing an alternative to those of us abandoned by Google’s ham-handed transition from GPM to YT Music. I very much enjoy curating my own library again and listening to those sweet, sweet FLAC files…
This is very likely a Samsung and/or Android bug, but I wanted to confirm that and at least see if any other Plexamp users have noticed this:
On my Samsung Galayx S20 FE, with music playing in Plexamp, swiping up on the homescreen to access the apps menu causes the music to pause. This is very strange behavior and only started occurring within the last few weeks. It is also inconsistent, and I cannot reproduce it reliably. In addition to the swipe up gesture, other interactions with the app menu sometime trigger a music pause, including swiping left or right, or accessing the context menu for an app by long-pressing its icon.
My first hunch was that, in a bid to improve responsiveness, Samsung was aggressively culling background processes and decided menu interactions were a good time to do so. However, I turned off battery optimizations for Plexamp and Android Webview, and it still happens.
In all cases I am listening via Bluetooth headphones, although I’ve used different pairs with the same result.
I believe this also happened with Google Podcasts app, but haven’t yet reproduced. It does not happen with CustomRadioPlayer, an internet radio streaming app.
I downloaded my logs and this appears to be where it happens. I’m not a seasoned log reader, but this doesn’t indicate anything obvious or describe the source of the “pause”. In this case, the app was open, I went “home”, then accessed the apps menu.
Sep 23, 2021 16:08:46.622 [Javascript] INFO - Cloud: [RecentPlays] Syncing complete with added: 0 deleted: 0 and dirty: 0.
Sep 23, 2021 16:08:48.545 [Javascript] INFO - App: Application state changed to background.
Sep 23, 2021 16:08:49.628 [Javascript] INFO - [AudioFocusChangeListener] Received focus loss -1 (transient: false, ducking: false).
Sep 23, 2021 16:08:49.628 [0x5cf75500] DEBUG - BASS: Audio interruption started (playing).
Sep 23, 2021 16:08:49.628 [0x5cf75500] INFO - BASS: Pause.
Sep 23, 2021 16:08:49.628 [0x5cf75500] INFO - BASS: Pausing stream 143872 with fade, kill: 0
Sep 23, 2021 16:08:49.635 [Javascript] INFO - Audio: State changed from playing to paused.
