tempo
tempo copied to clipboard
[BUG] - Loop state occasionally not remembered on long inactivity
Describe the bug
If I start a playlist and set the playback mode to "Loop All" usually I can close the app and come back later without losing the setting. However if I leave the app inactive for a long time occasionally I open it again and while the queue is still preserved the "Loop All" option is forgotten and the playback mode defaults to "No Looping". I could reproduce the effect by clearing the App cache, I suspect the setting is never written to permanent storage (like the queue seemingly is) and therefore lost when Android clears memory for other applications.
Expected behavior
The playback mode should always be remembered, even after extended app inactivity
To Reproduce
- Start a playlist
- Set the playback to "Loop All" or "Loop Single"
- Clear App Cache
- Open the App Again
- Play Queue is loaded correctly
- Playback Mode Defaults to "No Looping"
Environment
- Android device: Samsung Galaxy S22+
- Android OS version: Android 14
- App version: 3.6.0
- Other relevant details: None
Logs or Screenshots
Additional context
The same is true for both the loop and shuffle playback modes. I get both reset to off pretty much every time I launch the app. App version 3.8.1 Google Pixel 8 Android 14