Native Android client for Spotify, built with Jetpack Compose
Kotlin ad-freeadblockandroidjetpack-composekotlinlyricsmusic-playermusic-videomyspotispotifyspotify-adblockerspotify-clientspotify-connectspotui
GitHub Sponsors in the app (About, support sheet), README and FUNDING; sheets open in full; 2.0.0-beta.7 changelog
kota-zoc09da175c77f
diff --git a/.github/FUNDING.yml b/.github/FUNDING.ymlindex 588a83ee..54d0e751 100644--- a/.github/FUNDING.yml+++ b/.github/FUNDING.yml@@ -1,2 +1,3 @@# Donation links shown by GitHub's "Sponsor" button.+github: kota-zoko_fi: kotazodiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3ae0ee68..d49833f7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,37 +2,20 @@Each release on GitHub shows its section below. The app shows it too when it offers the update. Every detail: [docs/CHANGELOG-full.md](docs/CHANGELOG-full.md).-## Unreleased--- **Long playlists open and scroll faster**: the list is filtered and sorted again only when the search, the sort or a like changes (not at every recomposition), and rows keep their identity across sorts and filters.-- **Notification and lock screen no longer churn**: only a real change (song, play/pause, buffering, heart, shuffle) reaches the media session and the notification; the position is extrapolated by the system in between.-- **Skips a little faster and less work while music plays**: a fade is one call to the page instead of three (the ramp runs in the page while the command is on its way), the volume check comes with the media read instead of polling every 6 s, and the watcher looks every 4 s instead of 2 s when nothing plays.-- **Hearts (liked states) are asked once**: a page and its prefetch share the same request, and what Spotify confirmed less than a minute ago is not asked again (opening a playlist asked the whole list twice, then again for each page of tracks).-- **Far fewer calls to the player page**: "ready" is announced once per page load (twice meant every listener of it ran twice: state, token, quality, volume), the web token is fetched once and shared, and the Connect device list is read at most every 6 s in the page instead of every 2 s.-- **Myspoti's icon in the notification** and in Samsung's Now Bar, instead of a generic music note.-- **Ads that get through are silent**: they are muted on the page itself, no longer through a Spotify Connect volume command that some accounts refuse (the ad was heard). The song after the ad no longer stays paused.-- **Previous no longer pauses**: "previous" in the middle of a song restarts it and keeps playing (the skip fade left the sound at zero, and Android's WebView pauses silent media in the background).-- **Music comes back after a page reload**: when the player page reloads (frozen page, low memory, WebView restart) the song goes on where it was instead of staying paused; a frozen page is caught in a few seconds.-- **A song that stops being heard is restarted**: the app checks that the music really plays, not only what the page says.-- **Play right after launch works**: taps made while the player loads are sent once it is ready.-- **Shorter silence on ad breaks** (free accounts): about 4 s less.-- **Skips are about three times faster**: the next song is heard ~0.8 s after the tap instead of ~2.5 s (the next song is loaded ahead, the first tap is sent at once, a shorter fade, and the hidden Spotify page no longer redraws its home screen at every song).-- **Cover back to its full size** in the player.-- **Myspoti's buttons play on this phone again** when another device (the Spotify app on the same account, for instance) took playback without being picked in Myspoti: the music comes back here first, instead of driving that device (where skips, previous and volume were refused).-- **Faster artist pages and playlists**: an artist seen in the last minutes opens at once (and its releases page too), the discography and a playlist's first songs are asked for together with the page, and your liked songs load once per session instead of on every artist page.-- **Your liked songs by an artist** come first on its page, above the popular tracks, and open their own page (as in Spotify), where play and shuffle play only them.-- **Hearts right on long lists**: liked songs of a long playlist (or of an artist's liked songs) no longer show without their heart; the check goes by batches of 50, and an incomplete answer is never kept as "not liked".-- **New languages**: German, Spanish, Portuguese and Greek, on every screen.-- **Music no longer stops for a minute**: a Web Player page that stops answering is reloaded at once, and playback goes on.-- **No more silent songs**: the sound comes back by itself if a skip or a muted ad left it at zero; after a skip it comes back as soon as the next song is there.-- **Smart shuffle** goes on from where the song is (no restart), adds songs to every playlist, and has its own icon in the player.-- **Free accounts refused by Spotify** (some countries): the list plays from its start instead, and a message explains why.+## 2.0.0-beta.7++- **Music that keeps playing**: a frozen player page is caught and reloaded in seconds, and the song goes on where it was; no more silent songs after a skip, "previous" or an ad; play right after launch works.+- **Skips about three times faster** (~0.8 s from tap to sound instead of ~2.5 s), and much less work in the background: far fewer calls to the player page and to Spotify.+- **Ads**: an ad that gets through is silent, and ad breaks are shorter.+- **Myspoti plays on this phone again** when the Spotify app (or another device) took playback without being picked here; free accounts refused by Spotify in some countries get a fallback and a message.+- **Canvas**: the player opens straight on it, with a smooth fade when it is still loading; tap it to watch it alone. No more flashing buttons.+- **Faster artist pages and playlists**; your **liked songs by an artist** come first and open their own page; hearts are right on long lists.+- **Smart shuffle** keeps the song going, adds songs to every playlist and has its own icon.+- **New**: followers and following on profiles, episodes in playlists, unavailable songs greyed out, fast scrollbar, share as image (Instagram story), swipe up for the lyrics, foldable-friendly player.+- **Settings**: autoplay, accent colour, screen rotation.+- **New languages**: German, Spanish, Portuguese and Greek.- **GrapheneOS**: the player loads with "secure app spawning" on.-- **Followers and following** lists on profiles; **your liked songs** on artist pages; **episodes** in playlists; unavailable songs greyed out.-- **Fast scrollbar** on long playlists and the library.-- **Share as image** (Instagram story and more); swipe up on the cover for the lyrics; player fits foldables and wide screens.-- **Settings**: autoplay on or off, accent colour, screen rotation (portrait, automatic, landscape).-- **Canvas**: loaded while the mini player shows, so the player opens straight on it; when it is still loading, it fades in smoothly over the cover. Tap it to watch it alone (the player hides), tap again to bring the player back; it is a little darker under the player so the text reads. Its previous / next buttons no longer appear.+- **GitHub Sponsors**: support Myspoti on GitHub Sponsors too, next to Ko-fi.## 2.0.0-beta.6diff --git a/README.md b/README.mdindex 39b00cd1..98c7c12b 100644--- a/README.md+++ b/README.md@@ -18,6 +18,7 @@ The official Spotify Web Player runs in a hidden WebView and does the actual pla<p align="center"><a href="https://ko-fi.com/kotazo"><img src="https://storage.ko-fi.com/cdn/kofi6.png?v=6" alt="Support Myspoti on Ko-fi" height="56"></a>+ <a href="https://github.com/sponsors/kota-zo"><img src="https://img.shields.io/badge/Sponsor_on_GitHub-%E2%9D%A4-ea4aaa?style=for-the-badge&logo=githubsponsors&logoColor=white" alt="Sponsor kota-zo on GitHub" height="56"></a></p>## Features@@ -71,10 +72,11 @@ Blocking ads goes against Spotify's Terms of Use, and Spotify may suspend accoun## Support-Myspoti is free, has no ads and is made in my spare time. If you enjoy it, you can support it on [Ko-fi](https://ko-fi.com/kotazo), also from **About** in the app's profile menu. Nothing in the app is locked behind a donation.+Myspoti is free, has no ads and is made in my spare time. If you enjoy it, you can support it on [Ko-fi](https://ko-fi.com/kotazo) or [GitHub Sponsors](https://github.com/sponsors/kota-zo), also from **About** in the app's profile menu. Nothing in the app is locked behind a donation.<p align="center"><a href="https://ko-fi.com/kotazo"><img src="https://storage.ko-fi.com/cdn/kofi6.png?v=6" alt="Support Myspoti on Ko-fi" height="56"></a>+ <a href="https://github.com/sponsors/kota-zo"><img src="https://img.shields.io/badge/Sponsor_on_GitHub-%E2%9D%A4-ea4aaa?style=for-the-badge&logo=githubsponsors&logoColor=white" alt="Sponsor kota-zo on GitHub" height="56"></a></p>News, help and ideas: join the [Discord server](https://discord.gg/jXKnGVFnGS). Bugs and requests are also welcome in [GitHub issues](https://github.com/kota-zo/myspoti/issues).diff --git a/base/app/src/main/java/com/music/spotui/data/api/SupportReminder.kt b/base/app/src/main/java/com/music/spotui/data/api/SupportReminder.ktindex 123d4d7b..ea0f3581 100644--- a/base/app/src/main/java/com/music/spotui/data/api/SupportReminder.kt+++ b/base/app/src/main/java/com/music/spotui/data/api/SupportReminder.kt@@ -18,6 +18,8 @@ import androidx.compose.ui.graphics.Color*/object SupportReminder {const val URL = "https://ko-fi.com/kotazo"+ /** GitHub Sponsors, the other way to give (monthly or once). */+ const val SPONSORS_URL = "https://github.com/sponsors/kota-zo"const val FIRST_AFTER_MS = 24L * 3_600_000/*** Supporter perks ("I've supported", accent, icon, badge) are off until supports can@@ -109,4 +111,8 @@ object SupportReminder {fun open(context: Context) {context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(URL)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))}++ fun openSponsors(context: Context) {+ context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(SPONSORS_URL)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))+ }}diff --git a/base/app/src/main/java/com/music/spotui/ui/components/AboutSheet.kt b/base/app/src/main/java/com/music/spotui/ui/components/AboutSheet.ktindex 00d20525..2cd0ba8a 100644--- a/base/app/src/main/java/com/music/spotui/ui/components/AboutSheet.kt+++ b/base/app/src/main/java/com/music/spotui/ui/components/AboutSheet.kt@@ -25,6 +25,7 @@ import androidx.compose.ui.Alignmentimport androidx.compose.ui.Modifierimport androidx.compose.ui.draw.clipimport androidx.compose.ui.graphics.Color+import androidx.compose.foundation.borderimport androidx.compose.ui.platform.LocalContextimport androidx.compose.ui.res.painterResourceimport androidx.compose.ui.res.stringResource@@ -50,7 +51,12 @@ private fun openUrl(context: Context, url: String) {@Composablefun AboutSheet(onDismiss: () -> Unit) {val context = LocalContext.current- ModalBottomSheet(onDismissRequest = onDismiss, containerColor = Color(0xFF282828)) {+ // Opened in full: half open, it hid the support buttons at the bottom.+ ModalBottomSheet(+ onDismissRequest = onDismiss,+ sheetState = androidx.compose.material3.rememberModalBottomSheetState(skipPartiallyExpanded = true),+ containerColor = Color(0xFF282828),+ ) {Column(Modifier.navigationBarsPadding().verticalScroll(rememberScrollState()).padding(bottom = 20.dp)) {Row(verticalAlignment = Alignment.CenterVertically, modifier = Modifier.padding(horizontal = 20.dp)) {Image(@@ -74,10 +80,23 @@ fun AboutSheet(onDismiss: () -> Unit) {modifier = Modifier.padding(horizontal = 20.dp).fillMaxWidth().height(48.dp).clip(RoundedCornerShape(50)).background(AppAccent).pressable(0.96f) { SupportReminder.open(context) },) { Text(stringResource(R.string.support_action), color = Color.Black, fontSize = 16.sp, fontWeight = FontWeight.Bold) }+ GitHubSponsorButton(Modifier.padding(start = 20.dp, end = 20.dp, top = 10.dp))}}}+/** GitHub Sponsors, under the Ko-fi button: outlined, so Ko-fi stays the main one. */+@Composable+fun GitHubSponsorButton(modifier: Modifier = Modifier) {+ val context = LocalContext.current+ Box(+ contentAlignment = Alignment.Center,+ modifier = modifier.fillMaxWidth().height(48.dp).clip(RoundedCornerShape(50))+ .border(1.dp, Color.White.copy(alpha = 0.6f), RoundedCornerShape(50))+ .pressable(0.96f) { SupportReminder.openSponsors(context) },+ ) { Text(stringResource(R.string.support_github_action), color = Color.White, fontSize = 16.sp, fontWeight = FontWeight.Bold) }+}+@Composableprivate fun AboutRow(title: String, detail: String, onClick: () -> Unit) {Column(Modifier.fillMaxWidth().clickable(onClick = onClick).padding(horizontal = 20.dp, vertical = 10.dp)) {diff --git a/base/app/src/main/java/com/music/spotui/ui/components/SupporterSheet.kt b/base/app/src/main/java/com/music/spotui/ui/components/SupporterSheet.ktindex 0ea860cf..ac625ef2 100644--- a/base/app/src/main/java/com/music/spotui/ui/components/SupporterSheet.kt+++ b/base/app/src/main/java/com/music/spotui/ui/components/SupporterSheet.kt@@ -94,7 +94,12 @@ fun SupporterSheet(onDismiss: () -> Unit) {val context = LocalContext.currentvar choosing by remember { mutableStateOf(false) }val level = SupportReminder.level- ModalBottomSheet(onDismissRequest = onDismiss, containerColor = Color(0xFF282828)) {+ // Opened in full: half open, it hid the support buttons at the bottom.+ ModalBottomSheet(+ onDismissRequest = onDismiss,+ sheetState = androidx.compose.material3.rememberModalBottomSheetState(skipPartiallyExpanded = true),+ containerColor = Color(0xFF282828),+ ) {Column(Modifier.navigationBarsPadding().verticalScroll(rememberScrollState()).padding(start = 20.dp, end = 20.dp, bottom = 20.dp)) {Row(verticalAlignment = Alignment.CenterVertically) {Text(stringResource(R.string.supporter_perks_title), color = Color.White, fontSize = 20.sp, fontWeight = FontWeight.Bold)@@ -110,6 +115,7 @@ fun SupporterSheet(onDismiss: () -> Unit) {modifier = Modifier.fillMaxWidth().height(48.dp).clip(RoundedCornerShape(50)).background(AppAccent).pressable(0.96f) { SupportReminder.open(context) },) { Text(stringResource(R.string.support_action), color = Color.Black, fontSize = 16.sp, fontWeight = FontWeight.Bold) }+ GitHubSponsorButton(Modifier.padding(top = 10.dp))Text(stringResource(R.string.supporter_i_supported), color = Color.White, fontSize = 15.sp, fontWeight = FontWeight.Bold,modifier = Modifier.align(Alignment.CenterHorizontally).padding(top = 8.dp).pressable(0.96f) { choosing = true }.padding(horizontal = 24.dp, vertical = 12.dp))diff --git a/base/app/src/main/res/values-de/myspoti_strings.xml b/base/app/src/main/res/values-de/myspoti_strings.xmlindex 675510ac..2730e10e 100644--- a/base/app/src/main/res/values-de/myspoti_strings.xml+++ b/base/app/src/main/res/values-de/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Myspoti ist kostenlos, werbefrei und wird in meiner Freizeit entwickelt. Wenn es dir gefällt, hilft eine kleine Spende, es am Laufen zu halten.</string><string name="support_action">Auf Ko-fi unterstützen</string><string name="support_decline">Nein danke</string>- <string name="support_row_detail">Eine kleine Spende auf Ko-fi hilft, die App am Laufen zu halten</string>+ <string name="support_row_detail">Eine kleine Spende über Ko-fi oder GitHub Sponsors hält die App am Laufen</string><string name="supporter_perks_title">Vorteile für Unterstützer*innen</string><string name="supporter_perks_detail">Akzentfarbe, App-Icon und ein Abzeichen als Dankeschön</string><string name="supporter_perks_locked">Freigeschaltet durch deine Unterstützung für Myspoti. Es basiert auf deinem Wort: Nichts wird geprüft.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Hochformat</string><string name="settings_rotation_auto">Automatisch</string><string name="settings_rotation_landscape">Querformat</string>+ <string name="support_github_action">Auf GitHub sponsern</string></resources>diff --git a/base/app/src/main/res/values-el/myspoti_strings.xml b/base/app/src/main/res/values-el/myspoti_strings.xmlindex 9b256e82..299ff5c2 100644--- a/base/app/src/main/res/values-el/myspoti_strings.xml+++ b/base/app/src/main/res/values-el/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Το Myspoti είναι δωρεάν, χωρίς διαφημίσεις, και φτιάχνεται στον ελεύθερο χρόνο μου. Αν σου αρέσει, μια μικρή δωρεά βοηθά να συνεχίσει.</string><string name="support_action">Στήριξε στο Ko-fi</string><string name="support_decline">Όχι, ευχαριστώ</string>- <string name="support_row_detail">Μια μικρή δωρεά στο Ko-fi βοηθά να συνεχίσει η εφαρμογή</string>+ <string name="support_row_detail">Μια μικρή δωρεά στο Ko-fi ή στο GitHub Sponsors βοηθά την εφαρμογή να συνεχίσει</string><string name="supporter_perks_title">Ανταμοιβές υποστηρικτή</string><string name="supporter_perks_detail">Χρώμα τόνου, εικονίδιο εφαρμογής και σήμα, ως ευχαριστία</string><string name="supporter_perks_locked">Ξεκλειδώνεται με τη στήριξη του Myspoti. Βασίζεται στον λόγο σου: δεν ελέγχεται τίποτα.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Κατακόρυφη</string><string name="settings_rotation_auto">Αυτόματη</string><string name="settings_rotation_landscape">Οριζόντια</string>+ <string name="support_github_action">Χορηγία στο GitHub</string></resources>diff --git a/base/app/src/main/res/values-es/myspoti_strings.xml b/base/app/src/main/res/values-es/myspoti_strings.xmlindex 10052621..42ca671a 100644--- a/base/app/src/main/res/values-es/myspoti_strings.xml+++ b/base/app/src/main/res/values-es/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Myspoti es gratis, sin anuncios, y lo desarrollo en mi tiempo libre. Si te gusta, una pequeña donación ayuda a que siga adelante.</string><string name="support_action">Apoyar en Ko-fi</string><string name="support_decline">No, gracias</string>- <string name="support_row_detail">Una pequeña donación en Ko-fi ayuda a que la app siga adelante</string>+ <string name="support_row_detail">Una pequeña donación en Ko-fi o GitHub Sponsors ayuda a mantener la app</string><string name="supporter_perks_title">Ventajas de apoyo</string><string name="supporter_perks_detail">Color de acento, icono de la app y una insignia, como agradecimiento</string><string name="supporter_perks_locked">Se desbloquean al apoyar Myspoti. Es de palabra: no se comprueba nada.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Vertical</string><string name="settings_rotation_auto">Automática</string><string name="settings_rotation_landscape">Horizontal</string>+ <string name="support_github_action">Patrocinar en GitHub</string></resources>diff --git a/base/app/src/main/res/values-fr/myspoti_strings.xml b/base/app/src/main/res/values-fr/myspoti_strings.xmlindex 2927bf1f..fcae6eb6 100644--- a/base/app/src/main/res/values-fr/myspoti_strings.xml+++ b/base/app/src/main/res/values-fr/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Myspoti est gratuit, sans publicité, et développé sur mon temps libre. Si vous l\'appréciez, un petit don aide à le faire avancer.</string><string name="support_action">Soutenir sur Ko-fi</string><string name="support_decline">Non merci</string>- <string name="support_row_detail">Un petit don sur Ko-fi aide l\'app à avancer</string>+ <string name="support_row_detail">Un petit don sur Ko-fi ou GitHub Sponsors aide l\'app à avancer</string><string name="supporter_perks_title">Avantages Soutien</string><string name="supporter_perks_detail">Couleur d\'accent, icône de l\'app et badge, pour dire merci</string><string name="supporter_perks_locked">Débloqués en soutenant Myspoti. C\'est sur l\'honneur : rien n\'est vérifié.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Portrait</string><string name="settings_rotation_auto">Automatique</string><string name="settings_rotation_landscape">Paysage</string>+ <string name="support_github_action">Sponsor sur GitHub</string></resources>diff --git a/base/app/src/main/res/values-it/myspoti_strings.xml b/base/app/src/main/res/values-it/myspoti_strings.xmlindex 48c62cc4..d775dc93 100644--- a/base/app/src/main/res/values-it/myspoti_strings.xml+++ b/base/app/src/main/res/values-it/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Myspoti è gratuito, senza pubblicità, e fatto nel mio tempo libero. Se ti piace, una piccola donazione aiuta a farlo andare avanti.</string><string name="support_action">Sostieni su Ko-fi</string><string name="support_decline">No grazie</string>- <string name="support_row_detail">Una piccola donazione su Ko-fi aiuta a far andare avanti l\'app</string>+ <string name="support_row_detail">Una piccola donazione su Ko-fi o GitHub Sponsors aiuta l\'app ad andare avanti</string><string name="supporter_perks_title">Vantaggi per i sostenitori</string><string name="supporter_perks_detail">Colore principale, icona dell\'app e un badge, per dire grazie</string><string name="supporter_perks_locked">Sbloccati sostenendo Myspoti. Ci fidiamo della tua parola: niente viene controllato.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Verticale</string><string name="settings_rotation_auto">Automatica</string><string name="settings_rotation_landscape">Orizzontale</string>+ <string name="support_github_action">Sponsor su GitHub</string></resources>diff --git a/base/app/src/main/res/values-pt/myspoti_strings.xml b/base/app/src/main/res/values-pt/myspoti_strings.xmlindex 1f389125..5e83716e 100644--- a/base/app/src/main/res/values-pt/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">O Myspoti é gratuito, sem anúncios, e é feito no meu tempo livre. Se gostas, um pequeno donativo ajuda a mantê-lo a funcionar.</string><string name="support_action">Apoiar no Ko-fi</string><string name="support_decline">Não, obrigado</string>- <string name="support_row_detail">Um pequeno donativo no Ko-fi ajuda a manter a app</string>+ <string name="support_row_detail">Um pequeno donativo no Ko-fi ou no GitHub Sponsors ajuda a manter a app</string><string name="supporter_perks_title">Vantagens de apoiante</string><string name="supporter_perks_detail">Cor de destaque, ícone da app e um distintivo, como agradecimento</string><string name="supporter_perks_locked">Desbloqueado ao apoiar o Myspoti. Confia-se na tua palavra: nada é verificado.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Retrato</string><string name="settings_rotation_auto">Automática</string><string name="settings_rotation_landscape">Paisagem</string>+ <string name="support_github_action">Patrocinar no GitHub</string></resources>diff --git a/base/app/src/main/res/values/myspoti_strings.xml b/base/app/src/main/res/values/myspoti_strings.xmlindex 5c32a8bf..2962b847 100644--- a/base/app/src/main/res/values/myspoti_strings.xml+++ b/base/app/src/main/res/values/myspoti_strings.xml@@ -88,7 +88,7 @@<string name="support_body">Myspoti is free, without ads, and made in my spare time. If you enjoy it, a small donation helps keep it going.</string><string name="support_action">Support on Ko-fi</string><string name="support_decline">No thanks</string>- <string name="support_row_detail">A small donation on Ko-fi helps keep the app going</string>+ <string name="support_row_detail">A small donation on Ko-fi or GitHub Sponsors helps keep the app going</string><string name="supporter_perks_title">Supporter perks</string><string name="supporter_perks_detail">Accent colour, app icon and a badge, to say thanks</string><string name="supporter_perks_locked">Unlocked by supporting Myspoti. It\'s on your word: nothing is checked.</string>@@ -323,4 +323,5 @@<string name="settings_rotation_portrait">Portrait</string><string name="settings_rotation_auto">Automatic</string><string name="settings_rotation_landscape">Landscape</string>+ <string name="support_github_action">Sponsor on GitHub</string></resources>diff --git a/docs/CHANGELOG-full.md b/docs/CHANGELOG-full.mdindex ee37e2c6..3cb204f1 100644--- a/docs/CHANGELOG-full.md+++ b/docs/CHANGELOG-full.md@@ -2,7 +2,7 @@Every change, release by release. The short version is in [CHANGELOG.md](../CHANGELOG.md), which the app and the GitHub releases show.-## Unreleased+## 2.0.0-beta.7- **Notification icon**: the media notification (status bar, Samsung Now Bar) showed the engine's generic two-note icon; the app now ships its wave mark under the same resource name, so it replaces it.- **Silent media is paused by the WebView**: Chromium pauses a hidden page's media that starts (new song, restart, seek) while muted or at volume 0. Skip fades went down to 0 and ads were muted with `muted`, so "previous" mid-song and the song after an ad stayed paused. Fades now stop at a tiny level and ads are silenced with an unheard element volume (0.001), never `muted`.@@ -19,6 +19,36 @@ Every change, release by release. The short version is in [CHANGELOG.md](../CHAN- The skip fade is 3 short steps without a read before them (~0.2 s → ~0.07 s).- The hidden page is parked on the settings page (`/preferences`, ~260 nodes): on the home page each song change redrew ~7000 nodes and ~190 images and held the main thread ~1 s. A real Web Player page, so that any reload still boots the player; the host's own reloads load the player's URL.- **Debug builds**: `tools/playback_test.py` drives the phone through 14 playback scenarios (debug-only `TestControlReceiver`), and track-playback responses carrying an ad are kept in `cache/ad-samples`.+- **GitHub Sponsors**: support Myspoti on GitHub Sponsors too, next to Ko-fi (About, Support Myspoti); the About sheet opens in full.+- **Long playlists open and scroll faster**: the list is filtered and sorted again only when the search, the sort or a like changes (not at every recomposition), and rows keep their identity across sorts and filters.+- **Notification and lock screen no longer churn**: only a real change (song, play/pause, buffering, heart, shuffle) reaches the media session and the notification; the position is extrapolated by the system in between.+- **Skips a little faster and less work while music plays**: a fade is one call to the page instead of three (the ramp runs in the page while the command is on its way), the volume check comes with the media read instead of polling every 6 s, and the watcher looks every 4 s instead of 2 s when nothing plays.+- **Hearts (liked states) are asked once**: a page and its prefetch share the same request, and what Spotify confirmed less than a minute ago is not asked again (opening a playlist asked the whole list twice, then again for each page of tracks).+- **Far fewer calls to the player page**: "ready" is announced once per page load (twice meant every listener of it ran twice: state, token, quality, volume), the web token is fetched once and shared, and the Connect device list is read at most every 6 s in the page instead of every 2 s.+- **Myspoti's icon in the notification** and in Samsung's Now Bar, instead of a generic music note.+- **Ads that get through are silent**: they are muted on the page itself, no longer through a Spotify Connect volume command that some accounts refuse (the ad was heard). The song after the ad no longer stays paused.+- **Previous no longer pauses**: "previous" in the middle of a song restarts it and keeps playing (the skip fade left the sound at zero, and Android's WebView pauses silent media in the background).+- **Music comes back after a page reload**: when the player page reloads (frozen page, low memory, WebView restart) the song goes on where it was instead of staying paused; a frozen page is caught in a few seconds.+- **A song that stops being heard is restarted**: the app checks that the music really plays, not only what the page says.+- **Play right after launch works**: taps made while the player loads are sent once it is ready.+- **Shorter silence on ad breaks** (free accounts): about 4 s less.+- **Skips are about three times faster**: the next song is heard ~0.8 s after the tap instead of ~2.5 s (the next song is loaded ahead, the first tap is sent at once, a shorter fade, and the hidden Spotify page no longer redraws its home screen at every song).+- **Cover back to its full size** in the player.+- **Myspoti's buttons play on this phone again** when another device (the Spotify app on the same account, for instance) took playback without being picked in Myspoti: the music comes back here first, instead of driving that device (where skips, previous and volume were refused).+- **Faster artist pages and playlists**: an artist seen in the last minutes opens at once (and its releases page too), the discography and a playlist's first songs are asked for together with the page, and your liked songs load once per session instead of on every artist page.+- **Your liked songs by an artist** come first on its page, above the popular tracks, and open their own page (as in Spotify), where play and shuffle play only them.+- **Hearts right on long lists**: liked songs of a long playlist (or of an artist's liked songs) no longer show without their heart; the check goes by batches of 50, and an incomplete answer is never kept as "not liked".+- **New languages**: German, Spanish, Portuguese and Greek, on every screen.+- **Music no longer stops for a minute**: a Web Player page that stops answering is reloaded at once, and playback goes on.+- **No more silent songs**: the sound comes back by itself if a skip or a muted ad left it at zero; after a skip it comes back as soon as the next song is there.+- **Smart shuffle** goes on from where the song is (no restart), adds songs to every playlist, and has its own icon in the player.+- **Free accounts refused by Spotify** (some countries): the list plays from its start instead, and a message explains why.+- **GrapheneOS**: the player loads with "secure app spawning" on.+- **Followers and following** lists on profiles; **your liked songs** on artist pages; **episodes** in playlists; unavailable songs greyed out.+- **Fast scrollbar** on long playlists and the library.+- **Share as image** (Instagram story and more); swipe up on the cover for the lyrics; player fits foldables and wide screens.+- **Settings**: autoplay on or off, accent colour, screen rotation (portrait, automatic, landscape).+- **Canvas**: loaded while the mini player shows, so the player opens straight on it; when it is still loading, it fades in smoothly over the cover. Tap it to watch it alone (the player hides), tap again to bring the player back; it is a little darker under the player so the text reads. Its previous / next buttons no longer appear.## 2.0.0-beta.6