Native Android client for Spotify, built with Jetpack Compose
Kotlin ad-freeadblockandroidjetpack-composekotlinlyricsmusic-playermusic-videomyspotispotifyspotify-adblockerspotify-clientspotify-connectspotui
Spotify refusing an account its audio licences no longer turns into a run of skips and reloads: three refusals (403) within 10 s pause playback once and say so, and no reload, replay, seek or ad recovery runs until the user plays again; a song whose own licence was refused and then stalls is paused and explained instead of seeked and reloaded; the first three licence answers of each page are logged with what they were for, the song and the time since the page was ready; never while the page only mirrors a song of an extension, and nothing of the licence request or its answer is touched [skip ci]
kota-zob9ead08fb6e4
diff --git a/base/api-spotify/src/main/kotlin/app/myspoti/spotify/LicenceRefusals.kt b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/LicenceRefusals.ktnew file mode 100644index 00000000..206436c0--- /dev/null+++ b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/LicenceRefusals.kt@@ -0,0 +1,26 @@+package app.myspoti.spotify++/**+ * Spotify refusing this account its audio licences (`403`). Reported (2.2.0, logs of 30/10, free+ * accounts signed in less than a day before): every song after the first of a page got a 403, and+ * the page moved on by itself to the next one a fraction of a second later, through the list.+ * One refusal is a song that cannot play here (a market); [limit] within [windowMs] is the account.+ * Only observed: the request and its answer are Spotify's, nothing is answered in their place.+ */+internal class LicenceRefusals(private val limit: Int = 3, private val windowMs: Long = 10_000) {+ private val times = ArrayDeque<Long>()++ /** A refusal at [now]; true when it makes [limit] within [windowMs] (counted again from zero then). */+ fun record(now: Long): Boolean {+ times.addLast(now)+ while (times.isNotEmpty() && now - times.first() > windowMs) times.removeFirst()+ if (times.size < limit) return false+ times.clear()+ return true+ }++ companion object {+ /** A song's licence, not the Widevine certificate (both are under `widevine-license`). */+ fun isAudio(url: String): Boolean = "widevine-license" in url && "/audio/license" in url+ }+}diff --git a/base/api-spotify/src/main/kotlin/app/myspoti/spotify/SpotifyPlayer.kt b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/SpotifyPlayer.ktindex cf948502..434d2a5e 100644--- a/base/api-spotify/src/main/kotlin/app/myspoti/spotify/SpotifyPlayer.kt+++ b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/SpotifyPlayer.kt@@ -160,6 +160,66 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop/** The song last paused by the hold: paused once, so a play the user asks for on it stands. */@Volatile private var heldPausedUri: Uri? = null+ /** Audio licences Spotify refused (403) in a row, see [onLicence]. */+ private val licenceRefusals = LicenceRefusals(LICENCE_REFUSALS, LICENCE_REFUSALS_MS)+ /**+ * Spotify refuses this account its audio licences (see [LicenceRefusals]): playback was paused+ * once and the user told, and nothing is repaired (no reload, no replay, no seek: each asks for+ * a licence again) until the user plays something.+ */+ @Volatile private var licenceRefusedHold = false+ /** The song whose own licence was refused (a 403 before it played [PRELOAD_AFTER_MS]), and when. */+ @Volatile private var licenceRefusedUri: Uri? = null+ @Volatile private var licenceRefusedAt = 0L+ /** When the current page said "ready", and how many licence answers it has had, for the log. */+ @Volatile private var pageReadyAt = 0L+ @Volatile private var pageLicences = 0+ private val _licencesRefused = kotlinx.coroutines.flow.MutableSharedFlow<Unit>(extraBufferCapacity = 1)+ /** Spotify refuses this account its audio licences: playback was paused, the UI says so. */+ val licencesRefused: kotlinx.coroutines.flow.SharedFlow<Unit> = _licencesRefused++ /** Repairs wait: held by the host ([recoveryHeld]), or licences refused ([licenceRefusedHold]). */+ private fun repairsHeld(): Boolean = recoveryHeld() || licenceRefusedHold++ /**+ * An audio licence answer the page saw. The first ones of each page are logged with what they+ * were for (one licence answered 200 per page, all others 403: a song's or the certificate?).+ * Refusals in a row ([LicenceRefusals]) pause playback once ([licencesRefused]). Observation+ * only: nothing of the request or its answer is touched.+ */+ private fun onLicence(msg: JsonObject) {+ val url = (msg["url"] as? kotlinx.serialization.json.JsonPrimitive)?.contentOrNull ?: return+ val status = (msg["status"] as? kotlinx.serialization.json.JsonPrimitive)?.intOrNull ?: 0+ val now = System.currentTimeMillis()+ val s = _state.value+ if (pageLicences++ < PAGE_LICENCES_LOGGED)+ bridge.logger?.invoke("page licence #$pageLicences: $status ${url.substringAfter("widevine-license", url).take(60)} on ${s?.item?.uri ?: "nothing"}, ${if (pageReadyAt > 0) "${now - pageReadyAt} ms after ready" else "page not ready"}")+ if (status != 403 || !LicenceRefusals.isAudio(url)) return+ // The page only mirrors a song of an extension, heard from the phone's own player: its+ // licences are not what the user hears. Nor are another device's.+ if (mirroring || remoteActive) return+ licenceRefusedAt = now+ // Before the song played the moment after which the next one is preloaded: its own licence.+ licenceRefusedUri = s?.takeIf { it.positionAt(now) < PRELOAD_AFTER_MS }?.item?.uri+ if (licenceRefusals.record(now)) refusedLicences("403 x$LICENCE_REFUSALS in ${LICENCE_REFUSALS_MS / 1000} s")+ }++ /** Pauses once, tells the user and holds every repair until they play ([licenceRefusedHold]). */+ private fun refusedLicences(why: String) {+ if (licenceRefusedHold) return+ licenceRefusedHold = true+ bridge.logger?.invoke("Spotify refuses this account's audio licences ($why): paused, no reload nor replay until the next play")+ _licencesRefused.tryEmit(Unit)+ scope.launch { runCatching { pause() } }+ }++ /** The user plays (a pick, a skip, play): repairs may run again. */+ private fun userPlays() {+ if (!licenceRefusedHold) return+ licenceRefusedHold = false+ bridge.logger?.invoke("played after the licences were refused: repairs back on")+ }+/** Streaming quality ("auto", "low", "normal", "high", "very_high"), kept for every page load. */@Volatile var audioQuality: String = "auto"private set@@ -181,6 +241,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopkind = ((payload as? JsonObject)?.get("kind") as? kotlinx.serialization.json.JsonPrimitive)?.contentOrNull,)"drm" -> (payload as? JsonObject)?.let { _drmMissing.value = (it["ok"] as? kotlinx.serialization.json.JsonPrimitive)?.booleanOrNull == false }+ "licence" -> (payload as? JsonObject)?.let { onLicence(it) }}}}@@ -207,6 +268,9 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop?.let { s -> s.copy(positionMs = s.positionAt(now), timestampMs = now) }return@collect}+ pageReadyAt = System.currentTimeMillis()+ pageLicences = 0+ licenceRefusedUri = nullval lost = playingAtLossplayingAtLoss = null// Read now: the hush below waits for the page (0.5 s seen), by when our own reload@@ -254,7 +318,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop*/private suspend fun reloadAndPlayOn(s: PlayerState?, next: Boolean = true) {val reload = reloadHost ?: return- if (recoveryHeld()) { bridge.logger?.invoke("reload held: a sign-in page is open or Spotify is limiting playback"); return }+ if (repairsHeld()) { bridge.logger?.invoke("reload held: a sign-in page is open or Spotify is limiting or refusing playback"); return }ownReload = truetry {runCatching {@@ -291,7 +355,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop*/suspend fun reloadPage(): Boolean {val reload = reloadHost ?: return false- if (recoveryHeld()) { bridge.logger?.invoke("reload held: a sign-in page is open or Spotify is limiting playback"); return false }+ if (repairsHeld()) { bridge.logger?.invoke("reload held: a sign-in page is open or Spotify is limiting or refusing playback"); return false }ownReload = truetry {return reloadAndWait(reload)@@ -321,6 +385,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop* where it was, checked and tried again, unless the user paused or played something since.*/private suspend fun resumeAfterReload(lost: PlayerState) {+ if (licenceRefusedHold) { bridge.logger?.invoke("page back after a reload: nothing resumed, Spotify refuses this account's licences"); return }// Skipped during the reload: that song, not the one that played before it.if (liveIntent() != null) {val seq = stateSeq@@ -343,7 +408,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopif (s != null && s.item?.uri == uri && !s.isPaused) returnrunCatching {if (s?.item?.uri == uri) {- resume()+ resumePage()if (kotlin.math.abs(s.positionMs - at) > 5_000) seek(at)} else {// A state without a list would play the song alone, and Spotify then goes on@@ -575,7 +640,12 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop// it plays within a second. So the first try is the reload, at once; going through// the other levers first cost ~20 s of silence. If an ad is still there after// that, playing on is tried, then the reload again.- if (stuck) {+ // Licences refused: getting past the ad asks for one more (a reload, a play), held+ // until the user plays (see [licenceRefusedHold]).+ if (stuck && licenceRefusedHold) {+ bridge.logger?.invoke("ad stuck on ${ad?.item?.name}: left as it is, Spotify refuses this account's licences")+ adSince = System.currentTimeMillis()+ } else if (stuck) {adAttempts++val last = lastTrackStateval how = AdRecoveryRules.stuck(adAttempts, playing = playing && !refused, mirrored = mirroring)@@ -633,7 +703,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop_stalled.value = stillSince != 0L && (waiting || now - stillSince >= WATCH_TICK_MS)val silent = silentSince != 0L && now - silentSince >= SILENT_MSval reason = s?.let { stallOf(it, now, pausedByUser) } ?: (if (silent) SILENT else null)- if (recoveryHeld()) { key = null; attempts = 0; continue }+ if (repairsHeld()) { key = null; attempts = 0; continue }if (s == null || reason == null) { key = null; attempts = 0; continue }val k = "${s.item?.uri}|$reason"if (k != key) { key = k; since = now; attempts = 0; if (reason != SILENT) continue }@@ -642,7 +712,16 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopsince = nowattempts++silentSince = 0L- bridge.logger?.invoke("player stalled ($reason) on ${s.item?.name}, attempt $attempts; media element: ${media?.describe() ?: "none"}")+ val refusedAgo = licenceRefusedAt.takeIf { it > 0 }?.let { "; last licence 403 ${(now - it) / 1000} s ago" }.orEmpty()+ bridge.logger?.invoke("player stalled ($reason) on ${s.item?.name}, attempt $attempts; media element: ${media?.describe() ?: "none"}$refusedAgo")+ // B4 (log seen, 2.0.2-beta.5): the song's licence refused, its first seconds play and+ // then the sound stops while the clock goes on. A seek or a reload only asks for a+ // licence again (a reload gets one, then the page skips on): paused and said instead.+ if (licenceRefusedUri != null && s.item?.uri == licenceRefusedUri && !mirroring) {+ key = null; attempts = 0+ refusedLicences("refused for ${s.item?.name}, which then stalled")+ continue+ }// A song stuck at its end moves on; one stuck in its middle goes on where it was.val onward = reason == "past the end" || reason == "paused at the end"// A frozen page answers nothing: straight to the reload.@@ -1119,9 +1198,9 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopdelay(AD_END_SETTLE_MS)val now = _state.valueif (now != null && now.item?.uri == uri && now.isPaused && !pausedByUser && !_adPlaying.value && liveIntent() == null &&- lastPlay?.third == playedAt && !remoteActive && !mirroring) {+ lastPlay?.third == playedAt && !remoteActive && !mirroring && !licenceRefusedHold) {bridge.logger?.invoke("paused after the ad break, nobody paused: ${now.item?.name} resumed")- runCatching { resume() }+ runCatching { resumePage() }}}}@@ -1477,6 +1556,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop*/override suspend fun play(contextUri: Uri, trackUri: Uri?, index: Int?, positionMs: Long?, order: List<Uri>?) {userMoveAt = System.currentTimeMillis()+ userPlays()// The ad due after the song that played before: a new play brings its own queue, and the// put-back of an earlier ad skip would queue that old song after the pick.adRestore?.cancel()@@ -1603,6 +1683,12 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScop@Volatile private var pageSuspect = falseoverride suspend fun resume() {+ userPlays()+ resumePage()+ }++ /** [resume] without counting as the user's play (a restore after a reload, the end of an ad). */+ private suspend fun resumePage() {pausedByUser = false// A page that went silent while paused (frozen in the background): a quick ping, and if it// still says nothing, the page is loaded again and plays on where it was, instead of the@@ -1647,6 +1733,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScoppickBeforeAd = nullpickAfterReload = nulluserMoveAt = System.currentTimeMillis()+ userPlays()adRestore?.cancel()if (skipsHeld) { stepIntent(1); return }// An ad is due right after this song: Spotify sends its skip to the ad too, and a page that@@ -1701,6 +1788,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScoppickBeforeAd = nullpickAfterReload = nulluserMoveAt = System.currentTimeMillis()+ userPlays()adRestore?.cancel()if (skipsHeld) { stepIntent(-1); return }intent = null@@ -1784,6 +1872,7 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopoverride suspend fun skipTo(item: NowPlaying) {pausedByUser = falseuserMoveAt = System.currentTimeMillis()+ userPlays()adRestore?.cancel()pickBeforeAd = nullpickAfterReload = null@@ -1922,6 +2011,11 @@ class SpotifyPlayer(private val bridge: Bridge, private val scope: CoroutineScopconst val HAVE_FUTURE_DATA = 3/** The next song is preloaded once the current one has played that long. */const val PRELOAD_AFTER_MS = 2_000L+ /** Licence answers of each page logged with what they were for (see [onLicence]). */+ const val PAGE_LICENCES_LOGGED = 3+ /** Licences refused within [LICENCE_REFUSALS_MS] that stop playback (see [LicenceRefusals]). */+ const val LICENCE_REFUSALS = 3+ const val LICENCE_REFUSALS_MS = 10_000L/** Longer than any ad break: the page is stuck in it. */const val AD_BREAK_MAX_MS = 4 * 60_000L/**diff --git a/base/api-spotify/src/main/kotlin/app/myspoti/spotify/bridge/Bridge.kt b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/bridge/Bridge.ktindex 8ecca93f..0d00e6b0 100644--- a/base/api-spotify/src/main/kotlin/app/myspoti/spotify/bridge/Bridge.kt+++ b/base/api-spotify/src/main/kotlin/app/myspoti/spotify/bridge/Bridge.kt@@ -84,6 +84,8 @@ class Bridge(private val host: BridgeHost, scope: CoroutineScope) {val url = (msg["url"] as? JsonPrimitive)?.contentOrNull ?: returnif ("widevine-license" !in url) returnapp.myspoti.spotify.report.Refusal402.licence((msg["status"] as? JsonPrimitive)?.intOrNull ?: 0)+ // The player reads them too: refusals in a row stop playback (see SpotifyPlayer.onLicence).+ _events.tryEmit("licence" to msg)}private fun handle(raw: String) {diff --git a/base/api-spotify/src/test/kotlin/app/myspoti/spotify/LicenceRefusalsTest.kt b/base/api-spotify/src/test/kotlin/app/myspoti/spotify/LicenceRefusalsTest.ktnew file mode 100644index 00000000..862e6c0c--- /dev/null+++ b/base/api-spotify/src/test/kotlin/app/myspoti/spotify/LicenceRefusalsTest.kt@@ -0,0 +1,31 @@+package app.myspoti.spotify++import org.junit.jupiter.api.Assertions.assertFalse+import org.junit.jupiter.api.Assertions.assertTrue+import org.junit.jupiter.api.Test++class LicenceRefusalsTest {+ @Test fun `three refusals within ten seconds`() {+ val r = LicenceRefusals()+ assertFalse(r.record(0)); assertFalse(r.record(4_000))+ assertTrue(r.record(9_000))+ }++ @Test fun `refusals too far apart are songs, not the account`() {+ val r = LicenceRefusals()+ assertFalse(r.record(0)); assertFalse(r.record(6_000))+ assertFalse(r.record(12_000))+ }++ @Test fun `counted again from zero once it fired`() {+ val r = LicenceRefusals()+ repeat(3) { r.record(it * 1_000L) }+ assertFalse(r.record(3_500)); assertFalse(r.record(4_000))+ assertTrue(r.record(4_500))+ }++ @Test fun `the song's licence, not the certificate`() {+ assertTrue(LicenceRefusals.isAudio("https://gew4-spclient.spotify.com/widevine-license/v1/audio/license"))+ assertFalse(LicenceRefusals.isAudio("https://gew4-spclient.spotify.com/widevine-license/v1/application/certificate"))+ }+}diff --git a/base/app/src/main/java/com/music/spotui/di/SongPlayer.kt b/base/app/src/main/java/com/music/spotui/di/SongPlayer.ktindex 286ecc91..d3055f81 100644--- a/base/app/src/main/java/com/music/spotui/di/SongPlayer.kt+++ b/base/app/src/main/java/com/music/spotui/di/SongPlayer.kt@@ -313,6 +313,11 @@ object SongPlayer {android.widget.Toast.makeText(Graph.app, app.myspoti.engine.R.string.songs_skipped_by_spotify, android.widget.Toast.LENGTH_LONG).show()}}+ scope.launch {+ MyspotiRuntime.spotify.player.licencesRefused.collect {+ android.widget.Toast.makeText(Graph.app, app.myspoti.engine.R.string.licences_refused_by_spotify, android.widget.Toast.LENGTH_LONG).show()+ }+ }// Said once the page has asked its WebView: a device that cannot decrypt Spotify's streams// plays nothing (no sound, 0:00), and nothing else in the app says why.scope.launch {diff --git a/base/app/src/main/res/values-de/myspoti_strings.xml b/base/app/src/main/res/values-de/myspoti_strings.xmlindex 6365d331..fb418fcb 100644--- a/base/app/src/main/res/values-de/myspoti_strings.xml+++ b/base/app/src/main/res/values-de/myspoti_strings.xml@@ -497,6 +497,7 @@<string name="song_unavailable_skipped">%1$s ist nicht verfügbar und wurde übersprungen.</string><string name="song_unavailable">%1$s ist nicht verfügbar.</string><string name="songs_skipped_by_spotify">Spotify hat immer wieder Titel übersprungen, die es nicht abspielen konnte, daher wurde die Wiedergabe pausiert. Tippe auf Wiedergabe, um es erneut zu versuchen, oder prüfe dein Konto und deine Verbindung.</string>+ <string name="licences_refused_by_spotify">Spotify verweigert auf diesem Konto gerade die Wiedergabe (Lizenz abgelehnt), daher wurde die Wiedergabe pausiert. Tippe später auf Wiedergabe, um es erneut zu versuchen.</string><string name="playlist_leave">Playlist verlassen</string><string name="playlist_leave_confirm">%1$s verlassen? Du bist dann kein Mitwirkender mehr und kannst keine Titel mehr hinzufügen oder entfernen. Um wieder beizutreten, brauchst du einen neuen Einladungslink.</string><string name="playlist_leave_button">Verlassen</string>diff --git a/base/app/src/main/res/values-el/myspoti_strings.xml b/base/app/src/main/res/values-el/myspoti_strings.xmlindex f31256a9..eea3eee2 100644--- a/base/app/src/main/res/values-el/myspoti_strings.xml+++ b/base/app/src/main/res/values-el/myspoti_strings.xml@@ -497,6 +497,7 @@<string name="song_unavailable_skipped">Το «%1$s» δεν είναι διαθέσιμο και παραλείφθηκε.</string><string name="song_unavailable">Το «%1$s» δεν είναι διαθέσιμο.</string><string name="songs_skipped_by_spotify">Το Spotify συνέχιζε να παραλείπει τραγούδια που δεν μπορούσε να αναπαραγάγει, οπότε η αναπαραγωγή τέθηκε σε παύση. Πατήστε αναπαραγωγή για νέα προσπάθεια ή ελέγξτε τον λογαριασμό και τη σύνδεσή σας.</string>+ <string name="licences_refused_by_spotify">Το Spotify αρνείται προς το παρόν την αναπαραγωγή τραγουδιών σε αυτόν τον λογαριασμό (η άδεια απορρίφθηκε), οπότε η αναπαραγωγή τέθηκε σε παύση. Πατήστε αναπαραγωγή για νέα προσπάθεια αργότερα.</string><string name="playlist_leave">Αποχώρηση από τη λίστα αναπαραγωγής</string><string name="playlist_leave_confirm">Αποχώρηση από το «%1$s»; Δεν θα είστε πλέον συνεργάτης και δεν θα μπορείτε να προσθέτετε ή να αφαιρείτε τραγούδια. Για να ξαναμπείτε, θα χρειαστείτε νέο σύνδεσμο πρόσκλησης.</string><string name="playlist_leave_button">Αποχώρηση</string>diff --git a/base/app/src/main/res/values-es/myspoti_strings.xml b/base/app/src/main/res/values-es/myspoti_strings.xmlindex a24c06f1..f077b7b1 100644--- a/base/app/src/main/res/values-es/myspoti_strings.xml+++ b/base/app/src/main/res/values-es/myspoti_strings.xml@@ -497,6 +497,7 @@<string name="song_unavailable_skipped">%1$s no está disponible y se omitió.</string><string name="song_unavailable">%1$s no está disponible.</string><string name="songs_skipped_by_spotify">Spotify seguía omitiendo canciones que no podía reproducir, así que la reproducción se pausó. Toca reproducir para intentarlo de nuevo, o revisa tu cuenta y tu conexión.</string>+ <string name="licences_refused_by_spotify">Spotify se niega por ahora a reproducir canciones en esta cuenta (licencia rechazada), así que la reproducción se pausó. Toca reproducir para intentarlo de nuevo más tarde.</string><string name="playlist_leave">Salir de la playlist</string><string name="playlist_leave_confirm">¿Salir de %1$s? Dejarás de ser colaborador y no podrás añadir ni quitar canciones. Para volver a unirte, necesitarás un nuevo enlace de invitación.</string><string name="playlist_leave_button">Salir</string>diff --git a/base/app/src/main/res/values-fr/myspoti_strings.xml b/base/app/src/main/res/values-fr/myspoti_strings.xmlindex b6b7e802..4ea553a5 100644--- a/base/app/src/main/res/values-fr/myspoti_strings.xml+++ b/base/app/src/main/res/values-fr/myspoti_strings.xml@@ -425,6 +425,7 @@<string name="song_unavailable_skipped">%1$s est indisponible et a été passé.</string><string name="song_unavailable">%1$s est indisponible.</string><string name="songs_skipped_by_spotify">Spotify enchaînait des morceaux qu’il ne pouvait pas lire : la lecture a été mise en pause. Appuyez sur lecture pour réessayer, ou vérifiez votre compte et votre connexion.</string>+ <string name="licences_refused_by_spotify">Spotify refuse pour l’instant de lire des morceaux sur ce compte (licence refusée) : la lecture a été mise en pause. Appuyez sur lecture pour réessayer plus tard.</string><string name="spotify_limited">Spotify limite la lecture pour le moment. Réessayez dans une minute.</string><string name="library_change_undone">Spotify a refusé la modification, votre bibliothèque est revenue comme avant</string><string name="blend_title">Mix à plusieurs</string>diff --git a/base/app/src/main/res/values-it/myspoti_strings.xml b/base/app/src/main/res/values-it/myspoti_strings.xmlindex 79346d43..94cb13c5 100644--- a/base/app/src/main/res/values-it/myspoti_strings.xml+++ b/base/app/src/main/res/values-it/myspoti_strings.xml@@ -497,6 +497,7 @@<string name="song_unavailable_skipped">%1$s non è disponibile ed è stato saltato.</string><string name="song_unavailable">%1$s non è disponibile.</string><string name="songs_skipped_by_spotify">Spotify continuava a saltare brani che non riusciva a riprodurre, quindi la riproduzione è stata messa in pausa. Tocca riproduci per riprovare oppure controlla il tuo account e la connessione.</string>+ <string name="licences_refused_by_spotify">Spotify per ora rifiuta di riprodurre brani su questo account (licenza rifiutata), quindi la riproduzione è stata messa in pausa. Tocca riproduci per riprovare più tardi.</string><string name="playlist_leave">Esci dalla playlist</string><string name="playlist_leave_confirm">Uscire da %1$s? Non sarai più un collaboratore e non potrai aggiungere o rimuovere brani. Per rientrare ti servirà un nuovo link di invito.</string><string name="playlist_leave_button">Esci</string>diff --git a/base/app/src/main/res/values-pl/myspoti_strings.xml b/base/app/src/main/res/values-pl/myspoti_strings.xmlindex 888deac1..4aa4524f 100644--- a/base/app/src/main/res/values-pl/myspoti_strings.xml+++ b/base/app/src/main/res/values-pl/myspoti_strings.xml@@ -522,6 +522,7 @@<string name="song_unavailable_skipped">Utwór %1$s jest niedostępny i został pominięty.</string><string name="song_unavailable">Utwór %1$s jest niedostępny.</string><string name="songs_skipped_by_spotify">Spotify wciąż pomijał utwory, których nie mógł odtworzyć, więc odtwarzanie wstrzymano. Dotknij odtwarzania, aby spróbować ponownie, lub sprawdź konto i połączenie.</string>+ <string name="licences_refused_by_spotify">Spotify na razie odmawia odtwarzania utworów na tym koncie (licencja odrzucona), więc odtwarzanie wstrzymano. Dotknij odtwarzania, aby spróbować ponownie później.</string><string name="playlist_member_listener">Słuchacz</string><string name="playlist_member_remove_collab">Usuń z grona współtwórców</string><string name="playlist_member_make_collab">Zrób współtwórcą</string>diff --git a/base/app/src/main/res/values-pt/myspoti_strings.xml b/base/app/src/main/res/values-pt/myspoti_strings.xmlindex b78fcf81..dd1431ba 100644--- a/base/app/src/main/res/values-pt/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt/myspoti_strings.xml@@ -497,6 +497,7 @@<string name="song_unavailable_skipped">%1$s não está disponível e foi ignorada.</string><string name="song_unavailable">%1$s não está disponível.</string><string name="songs_skipped_by_spotify">O Spotify continuou pulando músicas que não conseguia reproduzir, então a reprodução foi pausada. Toque em reproduzir para tentar de novo ou verifique sua conta e sua conexão.</string>+ <string name="licences_refused_by_spotify">O Spotify está recusando reproduzir músicas nesta conta por enquanto (licença recusada), então a reprodução foi pausada. Toque em reproduzir para tentar de novo mais tarde.</string><string name="playlist_leave">Sair da playlist</string><string name="playlist_leave_confirm">Sair de %1$s? Você deixará de ser colaborador e não poderá adicionar nem remover músicas. Para entrar de novo, você precisará de um novo link de convite.</string><string name="playlist_leave_button">Sair</string>diff --git a/base/app/src/main/res/values-ru/myspoti_strings.xml b/base/app/src/main/res/values-ru/myspoti_strings.xmlindex 7e2d9493..18f452b7 100644--- a/base/app/src/main/res/values-ru/myspoti_strings.xml+++ b/base/app/src/main/res/values-ru/myspoti_strings.xml@@ -522,6 +522,7 @@<string name="song_unavailable_skipped">Трек «%1$s» недоступен и был пропущен.</string><string name="song_unavailable">Трек «%1$s» недоступен.</string><string name="songs_skipped_by_spotify">Spotify продолжал пропускать треки, которые не смог воспроизвести, поэтому воспроизведение приостановлено. Нажмите «Воспроизвести», чтобы повторить, или проверьте аккаунт и подключение.</string>+ <string name="licences_refused_by_spotify">Spotify пока отказывается воспроизводить треки на этом аккаунте (лицензия отклонена), поэтому воспроизведение приостановлено. Нажмите «Воспроизвести», чтобы повторить позже.</string><string name="playlist_member_listener">Слушатель</string><string name="playlist_member_remove_collab">Убрать из соавторов</string><string name="playlist_member_make_collab">Сделать соавтором</string>diff --git a/base/app/src/main/res/values-zh/myspoti_strings.xml b/base/app/src/main/res/values-zh/myspoti_strings.xmlindex c3456586..ac87a417 100644--- a/base/app/src/main/res/values-zh/myspoti_strings.xml+++ b/base/app/src/main/res/values-zh/myspoti_strings.xml@@ -513,6 +513,7 @@<string name="song_unavailable_skipped">%1$s 不可用,已跳过。</string><string name="song_unavailable">%1$s 不可用。</string><string name="songs_skipped_by_spotify">Spotify 不断跳过无法播放的歌曲,因此播放已暂停。点按播放重试,或检查你的账号和网络连接。</string>+ <string name="licences_refused_by_spotify">Spotify 暂时拒绝在此账号上播放歌曲(许可被拒绝),因此播放已暂停。请稍后点按播放重试。</string><string name="playlist_member_listener">听众</string><string name="playlist_member_remove_collab">取消协作者身份</string><string name="playlist_member_make_collab">设为协作者</string>diff --git a/base/app/src/main/res/values/myspoti_strings.xml b/base/app/src/main/res/values/myspoti_strings.xmlindex 4abb0782..45d3617e 100644--- a/base/app/src/main/res/values/myspoti_strings.xml+++ b/base/app/src/main/res/values/myspoti_strings.xml@@ -435,6 +435,7 @@<string name="song_unavailable_skipped">%1$s is unavailable and was skipped.</string><string name="song_unavailable">%1$s is unavailable.</string><string name="songs_skipped_by_spotify">Spotify kept skipping songs it could not play, so playback was paused. Tap play to try again, or check your account and connection.</string>+ <string name="licences_refused_by_spotify">Spotify is refusing to play songs on this account for now (licence refused), so playback was paused. Tap play to try again later.</string><string name="spotify_limited">Spotify is limiting playback for a moment. Try again in a minute.</string><string name="library_change_undone">Spotify refused the change, your library is back as it was</string><string name="blend_title">Blend</string>