Native Android client for Spotify, built with Jetpack Compose
Kotlin ad-freeadblockandroidjetpack-composekotlinlyricsmusic-playermusic-videomyspotispotifyspotify-adblockerspotify-clientspotify-connectspotui
SpotiFLAC: verification opened before downloads when missing, full-screen page, sessions renewed a day ahead and never cleared silently; automatic downloads on Wi-Fi only, manual ones warn on mobile data
kota-zo28f9eeebe8b6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d49833f7..a15838ee 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,11 @@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++- **SpotiFLAC**: when it is not verified (or the verification lapsed), Downloads and any download open the verification first, then the songs download; its page is full screen (Retry and Skip were hidden under the mini player); a session is renewed a day ahead instead of lapsing, and you are told when it must be done again.+- **Automatic downloads wait for Wi-Fi**: downloaded lists keep in step only on Wi-Fi; a download you start on mobile data goes ahead with a warning.+## 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.diff --git a/base/app/src/main/java/app/myspoti/MainActivity.kt b/base/app/src/main/java/app/myspoti/MainActivity.ktindex 63ec969a..2ff58859 100644--- a/base/app/src/main/java/app/myspoti/MainActivity.kt+++ b/base/app/src/main/java/app/myspoti/MainActivity.kt@@ -62,7 +62,7 @@ class MainActivity : AppCompatActivity() {}androidx.compose.foundation.layout.Box(androidx.compose.ui.Modifier.fillMaxSize()) {when {- showSpotiflac -> com.music.spotui.ui.screens.SpotiflacScreen(onClose = { showSpotiflac = false })+ showSpotiflac -> com.music.spotui.ui.screens.SpotiflacScreen(onClose = { showSpotiflac = false; com.music.spotui.data.offline.SpotiflacGate.resume() })signedIn && setupNeeded -> com.music.spotui.ui.screens.SetupScreen(onDone = { setupNeeded = false },onSpotiflac = { showSpotiflac = true },diff --git a/base/app/src/main/java/com/music/spotui/data/DataSaver.kt b/base/app/src/main/java/com/music/spotui/data/DataSaver.ktindex be5f4f36..05f19af0 100644--- a/base/app/src/main/java/com/music/spotui/data/DataSaver.kt+++ b/base/app/src/main/java/com/music/spotui/data/DataSaver.kt@@ -65,7 +65,9 @@ object DataSaver {runCatching {cm.registerDefaultNetworkCallback(object : ConnectivityManager.NetworkCallback() {override fun onCapabilitiesChanged(network: Network, caps: NetworkCapabilities) {+ val was = meteredmetered = !caps.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)+ if (was && !metered) com.music.spotui.data.offline.OfflineCollections.onUnmetered(app)changed()}override fun onLost(network: Network) {diff --git a/base/app/src/main/java/com/music/spotui/data/offline/OfflineCollections.kt b/base/app/src/main/java/com/music/spotui/data/offline/OfflineCollections.ktindex 8c5adeef..ca47df45 100644--- a/base/app/src/main/java/com/music/spotui/data/offline/OfflineCollections.kt+++ b/base/app/src/main/java/com/music/spotui/data/offline/OfflineCollections.kt@@ -62,6 +62,18 @@ object OfflineCollections {fun isKept(trackId: String): Boolean = synchronized(lock) { trackId in singles } ||collections.values.any { trackId in it.trackIds }+ @Volatile private var wifiPending = false++ /** Automatic downloads were held back for Wi-Fi: the next Wi-Fi brings every list up to date. */+ fun waitForWifi() { wifiPending = true }++ /** The phone is on Wi-Fi (or another unmetered network) again. */+ fun onUnmetered(context: Context) {+ if (!wifiPending) return+ wifiPending = false+ refreshAll(context, force = true)+ }+/** Download a song on its own. */fun downloadSong(song: SongsModel, quality: com.music.spotui.data.preferences.DownloadQuality? = null) {if (song.spotifyTrackId.isBlank()) return@@ -116,17 +128,19 @@ object OfflineCollections {collections[page.uri] = c.copy(name = page.name, trackIds = ids, syncedAt = System.currentTimeMillis())save()val missing = songs.filter { !OfflineStore.isDownloaded(it.spotifyTrackId) && OfflineStore.status[it.spotifyTrackId] == null }- if (missing.isNotEmpty()) OfflineDownloader.enqueue(missing, com.music.spotui.data.preferences.DownloadQuality.saved(c.quality))+ if (missing.isNotEmpty()) OfflineDownloader.enqueue(missing, com.music.spotui.data.preferences.DownloadQuality.saved(c.quality), auto = true)gone.filterNot { isKept(it) }.forEach { OfflineDownloader.remove(it) }if (missing.isNotEmpty() || gone.isNotEmpty()) Log.i(TAG, "${page.name}: +${missing.size} -${gone.size}")}/** Brings every downloaded list up to date (at start, at most every 6 hours, online only). */- fun refreshAll(context: Context) {+ fun refreshAll(context: Context, force: Boolean = false) {scope.launch {delay(15_000)if (!OfflineStore.isOnline(context)) return@launch- val due = collections.values.filter { System.currentTimeMillis() - it.syncedAt > SYNC_EVERY_MS }+ // On mobile data the lists are not even read: the sync waits for Wi-Fi.+ if (com.music.spotui.data.DataSaver.metered) { waitForWifi(); return@launch }+ val due = collections.values.filter { force || System.currentTimeMillis() - it.syncedAt > SYNC_EVERY_MS }for (c in due) {val page = withTimeoutOrNull(60_000) { loadComplete(c) } ?: continuewithContext(Dispatchers.Main) { sync(page) }diff --git a/base/app/src/main/java/com/music/spotui/data/offline/OfflineDownloader.kt b/base/app/src/main/java/com/music/spotui/data/offline/OfflineDownloader.ktindex e371862a..d0c6dc72 100644--- a/base/app/src/main/java/com/music/spotui/data/offline/OfflineDownloader.kt+++ b/base/app/src/main/java/com/music/spotui/data/offline/OfflineDownloader.kt@@ -136,7 +136,13 @@ object OfflineDownloader {* Downloads [songs] in [quality] (asked when the setting is "ask each time"), else in* the quality chosen in Settings.*/- fun enqueue(songs: List<SongsModel>, quality: com.music.spotui.data.preferences.DownloadQuality? = null) {+ fun enqueue(+ songs: List<SongsModel>,+ quality: com.music.spotui.data.preferences.DownloadQuality? = null,+ verifiedOrSkipped: Boolean = false,+ /** Started by the app (a downloaded list keeping in step), not by a tap. */+ auto: Boolean = false,+ ) {// Downloads switched off in Settings: say so, instead of a list of failed songs.if (!isLosslessEnabled(Graph.app)) {scope.launch(Dispatchers.Main) {@@ -144,6 +150,24 @@ object OfflineDownloader {}return}+ val verified = com.music.spotui.data.preferences.hasSpotiflacSession(Graph.app)+ if (auto) {+ // Automatic downloads wait for Wi-Fi (never the user's mobile data), and for a+ // verified server: nothing opens by itself, the next sync takes them.+ if (com.music.spotui.data.DataSaver.metered || !OfflineStore.isOnline(Graph.app)) { OfflineCollections.waitForWifi(); return }+ if (!verified) return+ } else if (verifiedOrSkipped || verified) {+ // Asked for by the user on mobile data: it goes ahead, but they are told.+ if (com.music.spotui.data.DataSaver.metered) scope.launch(Dispatchers.Main) {+ android.widget.Toast.makeText(Graph.app, app.myspoti.engine.R.string.download_on_mobile_data, android.widget.Toast.LENGTH_LONG).show()+ }+ }+ // No SpotiFLAC server verified (never done, or lapsed): the verification opens first,+ // and these songs download once it is done or skipped (SpotiflacGate.resume).+ if (!auto && !verifiedOrSkipped && !verified) {+ SpotiflacGate.hold(songs, quality)+ return+ }val q = quality?.let { com.music.spotui.data.preferences.DownloadQuality.saved(it.name) }?.name.orEmpty()enqueueAll(songs.filter { it.spotifyTrackId.isNotBlank() }.map { Request.of(it).copy(quality = q) })}diff --git a/base/app/src/main/java/com/music/spotui/data/offline/SpotiflacGate.kt b/base/app/src/main/java/com/music/spotui/data/offline/SpotiflacGate.ktnew file mode 100644index 00000000..98a3840b--- /dev/null+++ b/base/app/src/main/java/com/music/spotui/data/offline/SpotiflacGate.kt@@ -0,0 +1,32 @@+package com.music.spotui.data.offline++import com.music.spotui.data.entity.SongsModel+import com.music.spotui.data.preferences.DownloadQuality+import kotlinx.coroutines.channels.BufferOverflow+import kotlinx.coroutines.flow.MutableSharedFlow+import kotlinx.coroutines.flow.SharedFlow++/**+ * Downloads asked for while no SpotiFLAC server is verified: they wait here, the app opens+ * the verification ([open]), and they start when the user leaves it, verified or not.+ */+object SpotiflacGate {+ private val _open = MutableSharedFlow<Unit>(extraBufferCapacity = 1, onBufferOverflow = BufferOverflow.DROP_OLDEST)+ /** The navigation opens the verification page on each emission. */+ val open: SharedFlow<Unit> = _open++ @Volatile private var pending: Pair<List<SongsModel>, DownloadQuality?>? = null++ fun hold(songs: List<SongsModel>, quality: DownloadQuality?) {+ val before = pending?.first.orEmpty()+ pending = (before + songs).distinctBy { it.spotifyTrackId } to (quality ?: pending?.second)+ _open.tryEmit(Unit)+ }++ /** The verification page closed: what waited is downloaded now. */+ fun resume() {+ val (songs, quality) = pending ?: return+ pending = null+ OfflineDownloader.enqueue(songs, quality, verifiedOrSkipped = true)+ }+}diff --git a/base/app/src/main/java/com/music/spotui/lossless/LosslessSource.kt b/base/app/src/main/java/com/music/spotui/lossless/LosslessSource.ktindex a1f40184..fd8d8e6f 100644--- a/base/app/src/main/java/com/music/spotui/lossless/LosslessSource.kt+++ b/base/app/src/main/java/com/music/spotui/lossless/LosslessSource.kt@@ -72,6 +72,8 @@ object LosslessSource {// Qobuz's own catalogue search finds the ISRC quickly and does not depend on the// community backends; the Tidal id does (their search), and they are often down.fun verified(ext: ZarzSession.Ext) = com.music.spotui.data.preferences.getSpotiflacSession(context, ext.appVersion) != null+ // No verified server at all: only the public ones are left, often down. Say so.+ if (ZarzSession.Ext.entries.none(::verified)) verificationNeeded(context)// 1. Tidal through the SpotiFLAC download servers (Zarz), with the user's verified// session, as SpotiFLAC Mobile's tidal-web extension does: the most reliable source.@@ -121,7 +123,7 @@ object LosslessSource {return Success(LosslessFile(url, "", "Qobuz", bits), isrcMatched = true)} catch (e: ZarzSession.VerifyRequired) {// The servers want a new verification: forget the session, Settings asks again.- com.music.spotui.data.preferences.clearSpotiflacSession(context, ZarzSession.Ext.QOBUZ.appVersion)+ verificationNeeded(context)Log.w(TAG, "zarz qobuz: verification required")return null} catch (e: Exception) {@@ -150,7 +152,7 @@ object LosslessSource {if (named.url.isNotBlank() && !isFullTrack(named.url, info.durationSec)) continuereturn Success(named, isrcMatched = true)} catch (e: ZarzSession.VerifyRequired) {- com.music.spotui.data.preferences.clearSpotiflacSession(context, ZarzSession.Ext.TIDAL.appVersion)+ verificationNeeded(context)Log.w(TAG, "zarz tidal: verification required")return null} catch (e: Exception) {@@ -175,7 +177,7 @@ object LosslessSource {val url = aacManifestUrl(data.optString("manifest")) ?: continuereturn Success(LosslessFile(url, "", "Tidal AAC ${if (q == "LOW") 96 else 320}", 16, aac = true), isrcMatched = true)} catch (e: ZarzSession.VerifyRequired) {- com.music.spotui.data.preferences.clearSpotiflacSession(context, ZarzSession.Ext.TIDAL.appVersion)+ verificationNeeded(context)return null} catch (e: Exception) {Log.w(TAG, "zarz tidal aac: ${e.message}")@@ -410,6 +412,23 @@ object LosslessSource {private fun keyHeader() = mapOf("X-API-Key" to LosslessRegistry.API_KEY)+ @Volatile private var verifyToldAt = 0L++ /**+ * A download server asks for its verification again: the user is told (once in a while)+ * instead of downloads quietly falling back to the public servers. The session itself is+ * only dropped when the server says it is invalid (ZarzSession).+ */+ private fun verificationNeeded(context: Context) {+ val now = System.currentTimeMillis()+ if (now - verifyToldAt < 10 * 60_000L) return+ verifyToldAt = now+ Log.w(TAG, "zarz: verification required")+ android.os.Handler(android.os.Looper.getMainLooper()).post {+ android.widget.Toast.makeText(context.applicationContext, app.myspoti.engine.R.string.spotiflac_verify_again, android.widget.Toast.LENGTH_LONG).show()+ }+ }+internal fun get(urlString: String, headers: Map<String, String>): String {val conn = (URL(urlString).openConnection() as HttpURLConnection).apply {connectTimeout = 8_000diff --git a/base/app/src/main/java/com/music/spotui/lossless/ZarzSession.kt b/base/app/src/main/java/com/music/spotui/lossless/ZarzSession.ktindex f04195d9..10ff39d5 100644--- a/base/app/src/main/java/com/music/spotui/lossless/ZarzSession.kt+++ b/base/app/src/main/java/com/music/spotui/lossless/ZarzSession.kt@@ -37,6 +37,7 @@ internal object ZarzSession {private const val SCHEME = "ZARZ-HMAC-V1"private const val PREFIX = "X-Zarz-"private const val WINDOW_SECONDS = 300L+ private const val REFRESH_AHEAD_MS = 24 * 3_600_000L/*** The grant redirects the verification page sends back to the app@@ -105,16 +106,21 @@ internal object ZarzSession {return o.optString("ticket_id").ifBlank { o.optString("ticket") }.trim().ifBlank { throw java.io.IOException("no ticket_id") }}+ /**+ * Renews the session well before it ends (a day ahead), and still tries once it has ended:+ * waiting for its last hour let sessions lapse between two downloads, and a lapsed one+ * was given up without asking, so downloads fell back to the public servers.+ */private fun refreshIfDue(context: Context, ext: Ext) {val s = getSpotiflacSession(context, ext.appVersion) ?: throw VerifyRequired()val expires = parseIso(s.expiresAt) ?: returnval left = expires - System.currentTimeMillis()- if (left <= 0) throw VerifyRequired()- if (left > 3_600_000) return- runCatching {+ if (left > REFRESH_AHEAD_MS) return+ val renewed = runCatching {val (code, text) = signed(context, ext, "POST", "/session/refresh", JSONObject().put("install_id", s.installId).toString(), emptyMap())- if (code in 200..299) store(context, ext, s.installId, JSONObject(text), keepMissing = true)- }+ if (code in 200..299) { store(context, ext, s.installId, JSONObject(text), keepMissing = true); true } else false+ }.getOrDefault(false)+ if (!renewed && left <= 0) throw VerifyRequired()}private fun signed(context: Context, ext: Ext, method: String, path: String, body: String?, extra: Map<String, String>): Pair<Int, String> {diff --git a/base/app/src/main/java/com/music/spotui/ui/navigation/MainBottomNavigation.kt b/base/app/src/main/java/com/music/spotui/ui/navigation/MainBottomNavigation.ktindex 499debea..97e82c19 100644--- a/base/app/src/main/java/com/music/spotui/ui/navigation/MainBottomNavigation.kt+++ b/base/app/src/main/java/com/music/spotui/ui/navigation/MainBottomNavigation.kt@@ -63,7 +63,8 @@ fun MainBottomNavigation(navController: NavHostController, bottomBarState: Mutab// Visibility follows the screen actually shown (not flags each screen sets,// which raced during transitions and left the mini player over the full one).val shownRoute = navController.currentBackStackEntryAsState().value?.destination?.route- val fullScreen = shownRoute == Routes.Player.route || shownRoute == Routes.Queue.route+ // The SpotiFLAC verification too: under the bar its retry and skip buttons were out of reach.+ val fullScreen = shownRoute == Routes.Player.route || shownRoute == Routes.Queue.route || shownRoute == Routes.Spotiflac.routeval hasTrack = com.music.spotui.di.Graph.currentSongState.title.value.isNotBlank()// No motion of its own: the bar sits above the pages, so sliding it while the// player rises (or collapses behind it) made one gesture look like two.diff --git a/base/app/src/main/java/com/music/spotui/ui/navigation/MyNavHost.kt b/base/app/src/main/java/com/music/spotui/ui/navigation/MyNavHost.ktindex 6e6178d6..b6a4c833 100644--- a/base/app/src/main/java/com/music/spotui/ui/navigation/MyNavHost.kt+++ b/base/app/src/main/java/com/music/spotui/ui/navigation/MyNavHost.kt@@ -26,6 +26,7 @@ import androidx.compose.runtime.Composableimport androidx.compose.runtime.LaunchedEffectimport androidx.compose.runtime.MutableStateimport androidx.compose.runtime.getValue+import androidx.compose.runtime.setValueimport androidx.compose.ui.platform.LocalContextimport androidx.lifecycle.viewmodel.compose.viewModelimport androidx.navigation.NavHostController@@ -62,6 +63,12 @@ fun MyNavHost(val context = LocalContext.currentval startDestination = Routes.Home.route+ // A download asked for without a verified SpotiFLAC server opens the verification.+ LaunchedEffect(navHostController) {+ com.music.spotui.data.offline.SpotiflacGate.open.collect {+ if (navHostController.currentDestination?.route != Routes.Spotiflac.route) navHostController.navigate(Routes.Spotiflac.route)+ }+ }NavHost(navController = navHostController,startDestination = startDestination,@@ -123,6 +130,15 @@ fun MyNavHost(bottomBarState.value = truebottomBarPlayerState.value = playerState != ""}+ // Not verified with SpotiFLAC (or it lapsed): the verification first, once per visit.+ var askedVerify by androidx.compose.runtime.saveable.rememberSaveable { androidx.compose.runtime.mutableStateOf(false) }+ val context = androidx.compose.ui.platform.LocalContext.current+ LaunchedEffect(Unit) {+ if (!askedVerify && !com.music.spotui.data.preferences.hasSpotiflacSession(context)) {+ askedVerify = true+ navHostController.navigate(Routes.Spotiflac.route)+ }+ }com.music.spotui.ui.screens.DownloadsScreen(navHostController)}@@ -169,7 +185,10 @@ fun MyNavHost(// SpotiFLAC: the verification that gives the lossless downloads their best source.page(Routes.Spotiflac.route){- com.music.spotui.ui.screens.SpotiflacScreen(onClose = { navHostController.popBackStack() })+ com.music.spotui.ui.screens.SpotiflacScreen(onClose = {+ navHostController.popBackStack()+ com.music.spotui.data.offline.SpotiflacGate.resume()+ })}diff --git a/base/app/src/main/res/values-de/myspoti_strings.xml b/base/app/src/main/res/values-de/myspoti_strings.xmlindex 2730e10e..a81a554d 100644--- a/base/app/src/main/res/values-de/myspoti_strings.xml+++ b/base/app/src/main/res/values-de/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automatisch</string><string name="settings_rotation_landscape">Querformat</string><string name="support_github_action">Auf GitHub sponsern</string>+ <string name="spotiflac_verify_again">Die SpotiFLAC-Bestätigung ist abgelaufen: Bestätige sie in den Einstellungen erneut, um verlustfrei herunterzuladen</string>+ <string name="download_on_mobile_data">Download über mobile Daten: Er verbraucht dein Datenvolumen</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 299ff5c2..01d0beef 100644--- a/base/app/src/main/res/values-el/myspoti_strings.xml+++ b/base/app/src/main/res/values-el/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Αυτόματη</string><string name="settings_rotation_landscape">Οριζόντια</string><string name="support_github_action">Χορηγία στο GitHub</string>+ <string name="spotiflac_verify_again">Η επαλήθευση του SpotiFLAC έληξε: κάν’ την ξανά στις Ρυθμίσεις για λήψη χωρίς απώλειες</string>+ <string name="download_on_mobile_data">Λήψη με δεδομένα κινητής: χρησιμοποιεί το πακέτο δεδομένων σου</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 42ca671a..b38135d6 100644--- a/base/app/src/main/res/values-es/myspoti_strings.xml+++ b/base/app/src/main/res/values-es/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automática</string><string name="settings_rotation_landscape">Horizontal</string><string name="support_github_action">Patrocinar en GitHub</string>+ <string name="spotiflac_verify_again">La verificación de SpotiFLAC ha caducado: vuelve a hacerla en Ajustes para descargar sin pérdida</string>+ <string name="download_on_mobile_data">Descarga con datos móviles: usa tu tarifa de datos</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 fcae6eb6..09e42517 100644--- a/base/app/src/main/res/values-fr/myspoti_strings.xml+++ b/base/app/src/main/res/values-fr/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automatique</string><string name="settings_rotation_landscape">Paysage</string><string name="support_github_action">Sponsor sur GitHub</string>+ <string name="spotiflac_verify_again">La vérification SpotiFLAC a expiré : refais-la dans les Réglages pour télécharger en lossless</string>+ <string name="download_on_mobile_data">Téléchargement en données mobiles : il utilise ton forfait</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 d775dc93..b0f65ce3 100644--- a/base/app/src/main/res/values-it/myspoti_strings.xml+++ b/base/app/src/main/res/values-it/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automatica</string><string name="settings_rotation_landscape">Orizzontale</string><string name="support_github_action">Sponsor su GitHub</string>+ <string name="spotiflac_verify_again">La verifica SpotiFLAC è scaduta: ripetila nelle Impostazioni per scaricare in lossless</string>+ <string name="download_on_mobile_data">Download con i dati mobili: usa il tuo piano dati</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 5e83716e..a9c01f48 100644--- a/base/app/src/main/res/values-pt/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automática</string><string name="settings_rotation_landscape">Paisagem</string><string name="support_github_action">Patrocinar no GitHub</string>+ <string name="spotiflac_verify_again">A verificação do SpotiFLAC expirou: volta a fazê-la nas Definições para transferir sem perdas</string>+ <string name="download_on_mobile_data">Transferência com dados móveis: usa o teu tarifário</string></resources>diff --git a/base/app/src/main/res/values/myspoti_strings.xml b/base/app/src/main/res/values/myspoti_strings.xmlindex 2962b847..3d9bc374 100644--- a/base/app/src/main/res/values/myspoti_strings.xml+++ b/base/app/src/main/res/values/myspoti_strings.xml@@ -324,4 +324,6 @@<string name="settings_rotation_auto">Automatic</string><string name="settings_rotation_landscape">Landscape</string><string name="support_github_action">Sponsor on GitHub</string>+ <string name="spotiflac_verify_again">SpotiFLAC verification expired: verify again in Settings to download in lossless</string>+ <string name="download_on_mobile_data">Downloading on mobile data: it uses your data plan</string></resources>