mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-09-08 10:51:46 +02:00
Car head units send KEYCODE_MEDIA_STOP when powering off, which was calling closePlayback() and destroying the session entirely. This removed the media notification from the shade and required manually reopening the app to resume listening. Change to pause() so the session and notification stay alive, matching the behavior of YouTube, Plex, and Jellyfin. When the car powers back on and sends KEYCODE_MEDIA_PLAY, playback resumes in the same session.