tempo icon indicating copy to clipboard operation
tempo copied to clipboard

[BUG] - Loop state occasionally not remembered on long inactivity

Open Neshura87 opened this issue 1 year ago • 1 comments

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

  1. Start a playlist
  2. Set the playback to "Loop All" or "Loop Single"
  3. Clear App Cache
  4. Open the App Again
  5. Play Queue is loaded correctly
  6. 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

Neshura87 avatar Jan 12 '24 09:01 Neshura87

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

ArtemSmaznov avatar Aug 22 '24 16:08 ArtemSmaznov