Skip to content

Native Android client for Spotify, built with Jetpack Compose

Merge branch 'pr-34'

kota-zo6fe1c0d47a40
diff --cc CHANGELOG.md
index e7acf7f4,1e31e501..12e874cb
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -12,11 -12,6 +12,11 @@@ A new engine, written from scratch, an
- **Downloads ask their quality** if you want ("Ask each time"): once for a whole playlist, kept for its new songs.
- **Liked Songs update at once** after a like or an unlike, without reloading the whole list.
- **No more "bop" between two songs** on the phone's speaker: the sound output stays awake across the change.
+- **Downloads are encrypted**: a downloaded song only plays in Myspoti, on the phone that downloaded it. Songs downloaded before are encrypted in the background.
+- **The queue of downloaded songs is the real one**: it shows what plays next, and moving, removing or skipping songs works offline.
- - **Offline listens reach your Wrapped**: listens kept while offline are sent within a minute once the network and Spotify are back, not only at the next app start.
++- **Downloaded songs stay on the phone**: they are no longer reported to Spotify, so playing one never makes the Web Player start the album over it. They count in Myspoti's own Recap.
+- **Downloads say when the SpotiFLAC verification is missing**, with a banner that opens it.
+- **Shorter debug logs**: the copied logs keep Myspoti's own lines and crashes only.
- **Updates install in the app**: "Update" downloads the new version with a progress bar and hands it to Android's installer; no trip to GitHub. The first time, Android asks to allow installs from Myspoti.
- **Haptics work again**: buttons, likes and the debug icon vibrate.
- **Solid bottom bar** as an option in Settings, Display.
diff --cc base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt
index 0c3a5776,b671bc22..6a5109b0
--- a/base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt
+++ b/base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt
@@@ -59,10 -54,6 +59,8 @@@ object LocalPlayer
if (!active.value) return
active.value = false
exo?.let { it.stop(); it.clearMediaItems() }
+ tracks.clear(); unshuffled = null
+ SongPlayer.restoreEngineQueue()
- // Whatever this run played gets closed honestly (Wrapped reporting).
- com.music.spotui.data.offline.WrappedSync.finish()
}
fun resume() { exo?.play() }