Native Android client for Spotify, built with Jetpack Compose
Kotlin ad-freeadblockandroidjetpack-composekotlinlyricsmusic-playermusic-videomyspotispotifyspotify-adblockerspotify-clientspotify-connectspotui
AutoMix in the player and one Transitions setting: the mix's stretch coloured on the seek bar from the moment it is planned, a line under it ("Mix into …", "Mixing into …"), and the cover beating with the music around and during the mix: on each beat the analysis found, as strong as the bar is loud and heavy in bass, weighed by both songs' gains, with a glow and rings on the strong beats
kota-zo419c354729ac
diff --git a/base/app/src/main/java/com/music/spotui/automix/AutoMix.kt b/base/app/src/main/java/com/music/spotui/automix/AutoMix.ktindex 3bfdf9ee..e0243856 100644--- a/base/app/src/main/java/com/music/spotui/automix/AutoMix.kt+++ b/base/app/src/main/java/com/music/spotui/automix/AutoMix.kt@@ -37,6 +37,21 @@ object AutoMix {journal("AutoMix ${if (value) "on" else "off"}")}+ /** Next mixes the next song in on the beat (see LocalPlayer.mixOnSkip); off, Next cuts. On by default. */+ var mixOnNext by mutableStateOf(Graph.app.getSharedPreferences(PREFS, 0).getBoolean("automix_on_next", true))+ private set+ fun changeMixOnNext(value: Boolean) { mixOnNext = value; Graph.app.getSharedPreferences(PREFS, 0).edit().putBoolean("automix_on_next", value).apply() }++ /** No mix between two songs that follow each other on their album. On by default. */+ var albumOrder by mutableStateOf(Graph.app.getSharedPreferences(PREFS, 0).getBoolean("automix_album_order", true))+ private set+ fun changeAlbumOrder(value: Boolean) { albumOrder = value; Graph.app.getSharedPreferences(PREFS, 0).edit().putBoolean("automix_album_order", value).apply() }++ /** The mix shown in the player: its stretch on the seek bar, the cover and its glow pulsing with it. On by default. */+ var showInPlayer by mutableStateOf(Graph.app.getSharedPreferences(PREFS, 0).getBoolean("automix_show", true))+ private set+ fun changeShowInPlayer(value: Boolean) { showInPlayer = value; Graph.app.getSharedPreferences(PREFS, 0).edit().putBoolean("automix_show", value).apply() }+// ── Journal (last lines, for the command line and the stats sheet) ──private val lines = ArrayDeque<String>()diff --git a/base/app/src/main/java/com/music/spotui/data/preferences/SettingsPref.kt b/base/app/src/main/java/com/music/spotui/data/preferences/SettingsPref.ktindex 0328f507..d6af667b 100644--- a/base/app/src/main/java/com/music/spotui/data/preferences/SettingsPref.kt+++ b/base/app/src/main/java/com/music/spotui/data/preferences/SettingsPref.kt@@ -181,6 +181,34 @@ object CrossfadePref {}}+/**+ * How the local player's songs follow each other: one choice over [CrossfadePref] and AutoMix,+ * which never run together (AutoMix on, the crossfade's length is kept for later but unused).+ */+object TransitionPref {+ enum class Mode { OFF, CROSSFADE, AUTOMIX }++ val mode: Mode get() = when {+ com.music.spotui.automix.AutoMix.on -> Mode.AUTOMIX+ CrossfadePref.seconds > 0 -> Mode.CROSSFADE+ else -> Mode.OFF+ }++ fun set(c: Context, mode: Mode) {+ val automix = mode == Mode.AUTOMIX+ if (automix != com.music.spotui.automix.AutoMix.on) {+ com.music.spotui.automix.AutoMix.set(automix)+ com.music.spotui.di.LocalPlayer.autoMixChanged(automix)+ }+ when (mode) {+ Mode.OFF -> CrossfadePref.set(c, 0)+ // Back to the crossfade: its last length, 6 s the first time.+ Mode.CROSSFADE -> if (CrossfadePref.seconds == 0) CrossfadePref.set(c, 6)+ Mode.AUTOMIX -> Unit+ }+ }+}+/*** "Music videos": the video button in the player, the lookup behind it and a clip that starts* by itself on the next song. On by default; off, the player is audio (and Canvas) only.diff --git a/base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt b/base/app/src/main/java/com/music/spotui/di/LocalPlayer.ktindex 0fc3a7a1..384bcfe6 100644--- a/base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt+++ b/base/app/src/main/java/com/music/spotui/di/LocalPlayer.kt@@ -524,7 +524,9 @@ object LocalPlayer {private const val RUN_UP_MS = 2_500L/** One AutoMix step (every 200 ms, every 20 ms around a mix). False: no more ticks. */- private fun mixTick(p: ExoPlayer): Boolean {+ private fun mixTick(p: ExoPlayer): Boolean = mixStep(p).also { updateCue() }++ private fun mixStep(p: ExoPlayer): Boolean {val m = mixif (m != null && m.state >= MixState.MIXING) return mixing(m)if (!p.isPlaying) return false@@ -609,6 +611,8 @@ object LocalPlayer {* not follow each other there are mixed as any others.*/private fun followsOnAlbum(a: LocalTrack, b: LocalTrack): Boolean {+ // Turned off in the settings: every pair is mixed.+ if (!com.music.spotui.automix.AutoMix.albumOrder) return falseval x = a.album.trim(); val y = b.album.trim()if (x.isEmpty() || x.equals("<unknown>", true) || !x.equals(y, ignoreCase = true)) return falseif (a.trackNo > 0 && b.trackNo > 0) {@@ -641,7 +645,7 @@ object LocalPlayer {*/private fun mixOnSkip(): Boolean {val p = exo ?: return false- if (!com.music.spotui.automix.AutoMix.on || CastPlayback.active || !p.isPlaying || outgoing != null) return false+ if (!com.music.spotui.automix.AutoMix.on || !com.music.spotui.automix.AutoMix.mixOnNext || CastPlayback.active || !p.isPlaying || outgoing != null) return falsemix?.let { if (it.skip || it.state >= MixState.PREROLL) return false }val next = p.nextMediaItemIndexif (next == C.INDEX_UNSET || LocalRepeat.loopsSong(repeat, p.mediaItemCount)) return false@@ -868,7 +872,7 @@ object LocalPlayer {fun autoMixChanged(on: Boolean) {val p = exo ?: returnif (on && deckEq == null) deckEq = com.music.spotui.automix.DeckEq.attach(p.audioSessionId)- if (!on) { cancelMix("AutoMix off"); planned = null }+ if (!on) { cancelMix("AutoMix off"); planned = null; updateCue() }if (p.isPlaying) { handler.removeCallbacks(tick); handler.post(tick) }}@@ -881,6 +885,113 @@ object LocalPlayer {(planned?.let { ", plan ${it.plan}" } ?: "") + (p?.let { ", at ${it.currentPosition} ms of ${it.duration}" } ?: "")}+ // ── AutoMix on the screens ──+ // The players mark where the mix sits on the seek bar from the moment it is planned, and pulse+ // with the music around it: on each beat the analysis found, as strong as the bar is loud and+ // heavy in bass (a downbeat more), weighed by what each song's gain lets through of it.++ /**+ * A planned or running mix as the screens show it. Times in ms: the mix on the song going out+ * ([exitMs] to [endMs]) and on the one coming in ([entryMs] to [resumeMs]).+ */+ @androidx.compose.runtime.Immutable+ data class MixCue(+ val exitMs: Long,+ val endMs: Long,+ val entryMs: Long,+ val resumeMs: Long,+ val style: app.myspoti.automix.MixPlan.Style,+ val nextTitle: String,+ /** The mix is heard (the deck took over); before it, only planned or being prepared. */+ val mixing: Boolean,+ /** A mix for Next rather than at the song's end. */+ val skip: Boolean,+ )++ private val cueState = mutableStateOf<MixCue?>(null)+ /** The mix ahead of the song playing, or running; null with none (AutoMix off, Spotify songs, no next song). */+ val mixCue: androidx.compose.runtime.State<MixCue?> get() = cueState+ /** Both songs' analyses for the pulse, kept with the cue (looked up when the pair changes only). */+ private var cueSongs: Pair<app.myspoti.automix.TrackAnalysis?, app.myspoti.automix.TrackAnalysis?> = null to null+ private var cuePair = ""++ private fun updateCue() {+ val p = exo+ val run = mix?.takeIf { it.state <= MixState.MIXING }+ val plan: app.myspoti.automix.MixPlan?+ val from: Int; val to: Int+ if (p == null || !active.value || !com.music.spotui.automix.AutoMix.on && run == null) { cueState.value = null; return }+ if (run != null) {+ plan = run.plan; to = run.toIndex+ from = if (run.state == MixState.MIXING) (to - 1).coerceAtLeast(0) else p.currentMediaItemIndex+ } else {+ val pl = planned?.takeIf { it.fromIndex == p.currentMediaItemIndex && p.nextMediaItemIndex != C.INDEX_UNSET && it.toId == p.getMediaItemAt(p.nextMediaItemIndex).mediaId }+ plan = pl?.plan; from = p.currentMediaItemIndex; to = p.nextMediaItemIndex+ }+ if (plan == null) { cueState.value = null; return }+ val a = tracks.getOrNull(from); val b = tracks.getOrNull(to)+ val pair = "${a?.uri}|${b?.uri}"+ if (pair != cuePair) {+ cuePair = pair+ cueSongs = a?.let { com.music.spotui.automix.AutoMix.analysis(it.uri) } to b?.let { com.music.spotui.automix.AutoMix.analysis(it.uri) }+ }+ val cue = MixCue(+ (plan.exitA * 1000).toLong(), (plan.endA * 1000).toLong(), (plan.entryB * 1000).toLong(), (plan.resumeB * 1000).toLong(),+ plan.style, b?.title.orEmpty(), run?.state == MixState.MIXING, run?.skip == true,+ )+ if (cueState.value != cue) cueState.value = cue+ }++ /**+ * The mix's pulse now, 0 (still) to 1 (a loud downbeat): read every frame by the players while+ * a [mixCue] shows. It grows in over the 8 s before the mix and follows both songs during it.+ */+ fun mixPulse(): Float {+ val cue = cueState.value ?: return 0f+ val p = exo ?: return 0f+ val (ra, rb) = cueSongs+ if (!cue.mixing) {+ val t = p.currentPosition+ val ahead = ((t - (cue.exitMs - PULSE_LEAD_MS)) / PULSE_LEAD_MS.toFloat()).coerceIn(0f, 1f)+ if (ahead <= 0f) return 0f+ return ahead * ahead * beatPulse(ra, t / 1000.0)+ }+ val run = mix ?: return 0f+ val lv = run.plan.levels(run.progress())+ val pa = run.a?.let { beatPulse(ra, it.currentPosition / 1000.0) } ?: 0f+ val pb = beatPulse(rb, p.currentPosition / 1000.0)+ return (lv.gainA.toFloat() * pa + lv.gainB.toFloat() * pb).coerceIn(0f, 1f)+ }++ private const val PULSE_LEAD_MS = 8_000L+ private val pulseNorms = java.util.WeakHashMap<app.myspoti.automix.TrackAnalysis, FloatArray>()++ /** One song's beat at its time [t] (s): a 25-ms attack, then a decay over a third of the beat. */+ private fun beatPulse(an: app.myspoti.automix.TrackAnalysis?, t: Double): Float {+ // Not analysed (a fade on the lengths): a slow breath, at the pace of a slow song.+ if (an == null || an.beats.isEmpty()) return 0.35f + 0.25f * kotlin.math.sin(t * Math.PI * 2 / 1.6).toFloat()+ val beats = an.beats+ var lo = 0; var hi = beats.size - 1; var i = -1+ while (lo <= hi) { val m = (lo + hi) ushr 1; if (beats[m] <= t) { i = m; lo = m + 1 } else hi = m - 1 }+ if (i < 0) return 0f+ val period = if (i + 1 < beats.size) beats[i + 1] - beats[i] else 60.0 / an.bpm.coerceAtLeast(40.0)+ val dt = t - beats[i]+ if (dt > period * 1.5) return 0f+ val env = if (dt < 0.025) dt / 0.025 else kotlin.math.exp(-(dt - 0.025) / (period / 3))+ val bar = an.barAt(beats[i])+ if (bar < 0) return (0.5 * env).toFloat()+ // The bar's level and bass between the song's quiet and loud bars (10th and 95th percentiles).+ val n = pulseNorms.getOrPut(an) {+ fun range(v: FloatArray): Pair<Float, Float> = v.sorted().let { s -> if (s.isEmpty()) 0f to 1f else s[s.size / 10] to s[(s.size * 95 / 100).coerceAtMost(s.size - 1)] }+ val (l0, l1) = range(an.barDb); val (b0, b1) = range(an.barLowDb)+ floatArrayOf(l0, l1, b0, b1)+ }+ fun norm(v: Float, a: Float, b: Float) = if (b - a < 0.5f) 0.6f else ((v - a) / (b - a)).coerceIn(0f, 1f)+ val loud = 0.5f * norm(an.barDb[bar], n[0], n[1]) + 0.5f * norm(an.barLowDb[bar], n[2], n[3])+ val down = kotlin.math.abs(an.barStarts[bar] - beats[i]) < period / 4+ return ((0.3f + 0.7f * loud) * (if (down) 1f else 0.7f) * env).toFloat()+ }+// ── Crossfade (real overlap: every song of this player is a local-player one) ──// Near the end of a song, a second player takes over its last seconds (fading out) while the// main player moves on to the next item at once (fading in). The main player thus sees an@@ -1586,5 +1697,6 @@ object LocalPlayer {SongPlayer.onLocalState(t, playWhenReady(), position(), duration())SongPlayer.onLocalQueue(t, upcoming(), queuedCount())QueueSync.localChanged(queuedUris())+ updateCue()}}diff --git a/base/app/src/main/java/com/music/spotui/ui/components/AutoMixVisuals.kt b/base/app/src/main/java/com/music/spotui/ui/components/AutoMixVisuals.ktnew file mode 100644index 00000000..88f8b56e--- /dev/null+++ b/base/app/src/main/java/com/music/spotui/ui/components/AutoMixVisuals.kt@@ -0,0 +1,219 @@+package com.music.spotui.ui.components++import androidx.compose.animation.AnimatedVisibility+import androidx.compose.animation.expandVertically+import androidx.compose.animation.fadeIn+import androidx.compose.animation.fadeOut+import androidx.compose.animation.shrinkVertically+import androidx.compose.foundation.background+import androidx.compose.foundation.layout.Arrangement+import androidx.compose.foundation.layout.Row+import androidx.compose.foundation.layout.Spacer+import androidx.compose.foundation.layout.padding+import androidx.compose.foundation.layout.size+import androidx.compose.foundation.layout.width+import androidx.compose.foundation.shape.RoundedCornerShape+import androidx.compose.material.icons.Icons+import androidx.compose.material.icons.rounded.GraphicEq+import androidx.compose.material3.Icon+import androidx.compose.material3.Text+import androidx.compose.runtime.Composable+import androidx.compose.runtime.LaunchedEffect+import androidx.compose.runtime.Stable+import androidx.compose.runtime.getValue+import androidx.compose.runtime.setValue+import androidx.compose.runtime.mutableFloatStateOf+import androidx.compose.runtime.mutableLongStateOf+import androidx.compose.runtime.remember+import androidx.compose.runtime.withFrameNanos+import androidx.compose.ui.Alignment+import androidx.compose.ui.Modifier+import androidx.compose.ui.draw.drawBehind+import androidx.compose.ui.geometry.CornerRadius+import androidx.compose.ui.geometry.Offset+import androidx.compose.ui.geometry.Size+import androidx.compose.ui.graphics.Color+import androidx.compose.ui.graphics.drawscope.DrawScope+import androidx.compose.ui.graphics.drawscope.Stroke+import androidx.compose.ui.graphics.graphicsLayer+import androidx.compose.ui.res.stringResource+import androidx.compose.ui.text.style.TextOverflow+import androidx.compose.ui.unit.Dp+import androidx.compose.ui.unit.dp+import androidx.compose.ui.unit.sp+import app.myspoti.engine.R+import com.music.spotui.di.LocalPlayer+import com.music.spotui.ui.look.rememberReduceMotion++/**+ * The mix AutoMix has planned for the song playing, or is playing: the players colour its stretch+ * of the seek bar from the moment it is planned and pulse with the music around it. Null with no+ * mix ahead (AutoMix off, a Spotify song, the last song).+ */+@Composable+fun rememberMixCue(): LocalPlayer.MixCue? =+ LocalPlayer.mixCue.value?.takeIf { LocalPlayer.active.value && com.music.spotui.automix.AutoMix.on && com.music.spotui.automix.AutoMix.showInPlayer }++/**+ * Where the mix sits on the bar of the song shown, as fractions of its length: the song going out+ * until half way through the mix (the words then switch, see [SongBlend]), the one coming in after.+ */+fun LocalPlayer.MixCue.zoneOn(durationMs: Long, incomingShown: Boolean): ClosedFloatingPointRange<Float>? {+ if (durationMs <= 0) return null+ val (from, to) = if (mixing && incomingShown) entryMs to resumeMs else exitMs to endMs+ val a = (from.toFloat() / durationMs).coerceIn(0f, 1f)+ val b = (to.toFloat() / durationMs).coerceIn(0f, 1f)+ return if (b - a < 0.002f) null else a..b+}++/**+ * The mix's pulse, read every frame while [cue] shows and the music plays: [level] follows the+ * beats (see [LocalPlayer.mixPulse]); each strong beat sends a ring out of the cover ([rings]).+ * Still (0) with reduce motion.+ */+@Stable+class MixPulse internal constructor() {+ internal val value = mutableFloatStateOf(0f)+ internal val clock = mutableLongStateOf(0L)+ /** Rings out: start time (ns) and strength, oldest first. */+ internal val rings = ArrayDeque<Pair<Long, Float>>()+ private var last = 0f+ private var lastRing = 0L++ /** 0 (still) to 1 (a loud downbeat): read it in a draw or layer block. */+ fun level(): Float = value.floatValue++ internal fun step(now: Long, v: Float) {+ // A beat starting (the level jumps from its decay): a ring, at most one per 180 ms.+ if (v > 0.45f && v > last + 0.2f && now - lastRing > 180_000_000L) {+ rings.addLast(now to v); lastRing = now+ while (rings.size > 4) rings.removeFirst()+ }+ while (rings.isNotEmpty() && now - rings.first().first > RING_NS) rings.removeFirst()+ last = v+ value.floatValue = v+ clock.longValue = now+ }+}++private const val RING_NS = 900_000_000L++@Composable+fun rememberMixPulse(cue: LocalPlayer.MixCue?): MixPulse? {+ val reduceMotion = rememberReduceMotion()+ val on = cue != null && !reduceMotion+ val pulse = remember(on) { if (on) MixPulse() else null }+ LaunchedEffect(pulse) {+ val p = pulse ?: return@LaunchedEffect+ while (true) {+ if (!LocalPlayer.isPlaying()) { p.step(System.nanoTime(), 0f); kotlinx.coroutines.delay(250); continue }+ withFrameNanos { p.step(it, LocalPlayer.mixPulse()) }+ }+ }+ return pulse+}++/**+ * Around a cover: a glow in [color] that swells with the beat and rings that leave the cover's+ * edge on the strong ones, drawn behind it. [corner] is the cover's corner radius; [strength]+ * (read in the draw) dims it all, e.g. while the cover collapses into a header.+ */+fun Modifier.mixHalo(pulse: MixPulse?, color: Color, corner: Dp, strength: () -> Float = { 1f }): Modifier =+ if (pulse == null) this else drawBehind {+ val now = pulse.clock.longValue+ val k0 = strength().coerceIn(0f, 1f)+ if (k0 <= 0f) return@drawBehind+ val r = corner.toPx()+ val v = pulse.level() * k0+ // The glow: three soft layers, wider and fainter outwards.+ for (k in 1..3) {+ val grow = (6 + 10 * k).dp.toPx() * (0.4f + v)+ glowRect(color.copy(alpha = 0.16f * v / k), grow, r + grow)+ }+ // The rings: out to 28 dp past the edge, fading as they go.+ for ((start, strength) in pulse.rings) {+ val t = ((now - start) / RING_NS.toFloat()).coerceIn(0f, 1f)+ val out = 28.dp.toPx() * easeOut(t)+ val w = 2.dp.toPx() * (1f - t) + 0.5f+ drawRoundRect(+ color.copy(alpha = 0.7f * strength * k0 * (1f - t)),+ topLeft = Offset(-out, -out), size = Size(size.width + 2 * out, size.height + 2 * out),+ cornerRadius = CornerRadius(r + out), style = Stroke(w),+ )+ }+ }++private fun DrawScope.glowRect(color: Color, grow: Float, radius: Float) = drawRoundRect(+ color, topLeft = Offset(-grow, -grow), size = Size(size.width + 2 * grow, size.height + 2 * grow), cornerRadius = CornerRadius(radius),+)++private fun easeOut(t: Float) = 1f - (1f - t) * (1f - t) * (1f - t)++/** The cover beating with the mix: a few percent bigger on each beat. */+fun Modifier.mixBeat(pulse: MixPulse?, amount: Float = 0.035f): Modifier =+ if (pulse == null) this else graphicsLayer {+ val s = 1f + amount * pulse.level()+ scaleX = s; scaleY = s+ }++/**+ * Draws the mix's stretch on a seek bar's track (the canvas holding the bar, [y] its middle): the+ * part still ahead in [color] at half strength, the part played in full, thicker on the beat.+ */+fun DrawScope.drawMixZone(zone: ClosedFloatingPointRange<Float>, played: Float, y: Float, thickness: Float, color: Color, pulse: Float) {+ val x0 = size.width * zone.start; val x1 = size.width * zone.endInclusive+ val h = thickness * (1f + 0.8f * pulse)+ val radius = CornerRadius(h / 2)+ if (pulse > 0f) {+ val g = h * 2.6f+ drawRoundRect(color.copy(alpha = 0.22f * pulse), Offset(x0 - g / 4, y - g / 2), Size(x1 - x0 + g / 2, g), CornerRadius(g / 2))+ }+ drawRoundRect(color.copy(alpha = 0.45f), Offset(x0, y - h / 2), Size(x1 - x0, h), radius)+ val px = (size.width * played).coerceIn(x0, x1)+ if (px > x0) drawRoundRect(color, Offset(x0, y - h / 2), Size(px - x0, h), radius)+}++/**+ * The line under the seek bar that says a mix comes: "Mix into …" from 30 s before it,+ * "Mixing into …" while it plays. [positionMs] is the song playing's position.+ */+@Composable+fun MixHint(cue: LocalPlayer.MixCue?, positionMs: () -> Long, tint: Color, accent: Color, pulse: MixPulse?, modifier: Modifier = Modifier) {+ // Checked twice a second rather than per frame: the line comes 30 s ahead, give or take.+ var near by remember { androidx.compose.runtime.mutableStateOf(false) }+ LaunchedEffect(cue) {+ while (true) {+ near = cue != null && (cue.mixing || cue.skip || cue.exitMs - positionMs() < 30_000)+ if (cue == null) break+ kotlinx.coroutines.delay(500)+ }+ }+ AnimatedVisibility(+ visible = near && cue!!.nextTitle.isNotBlank(),+ enter = fadeIn() + expandVertically(expandFrom = Alignment.Top),+ exit = fadeOut() + shrinkVertically(shrinkTowards = Alignment.Top),+ modifier = modifier,+ ) {+ val c = remember { mutableLastCue() }+ cue?.let { c.value = it }+ val shown = c.value ?: return@AnimatedVisibility+ Row(+ Modifier+ .background(accent.copy(alpha = 0.16f), RoundedCornerShape(50))+ .padding(horizontal = 10.dp, vertical = 4.dp),+ verticalAlignment = Alignment.CenterVertically,+ horizontalArrangement = Arrangement.Center,+ ) {+ Icon(Icons.Rounded.GraphicEq, contentDescription = null, tint = accent,+ modifier = Modifier.size(14.dp).mixBeat(pulse, amount = 0.25f))+ Spacer(Modifier.width(6.dp))+ Text(+ stringResource(if (shown.mixing) R.string.automix_hint_mixing else R.string.automix_hint_next, shown.nextTitle),+ color = tint, fontSize = 12.sp, maxLines = 1, overflow = TextOverflow.Ellipsis,+ )+ }+ }+}++private class LastCue { var value: LocalPlayer.MixCue? = null }+private fun mutableLastCue() = LastCue()diff --git a/base/app/src/main/java/com/music/spotui/ui/immersive/pages/ImmersiveSettingsScreen.kt b/base/app/src/main/java/com/music/spotui/ui/immersive/pages/ImmersiveSettingsScreen.ktindex 4b8432fe..b323f184 100644--- a/base/app/src/main/java/com/music/spotui/ui/immersive/pages/ImmersiveSettingsScreen.kt+++ b/base/app/src/main/java/com/music/spotui/ui/immersive/pages/ImmersiveSettingsScreen.kt@@ -1,5 +1,6 @@package com.music.spotui.ui.immersive.pages+import com.music.spotui.data.preferences.TransitionPref.Mode as TransitionModeimport androidx.activity.compose.BackHandlerimport androidx.compose.animation.AnimatedContentimport androidx.compose.animation.core.Spring@@ -241,9 +242,12 @@ private fun PlaybackPage(navController: NavController, open: (SettingsPage) -> U}row {ImmersiveGroupRow(- stringResource(R.string.settings_crossfade_title), detail = stringResource(R.string.settings_crossfade_detail),- value = if (com.music.spotui.automix.AutoMix.on) stringResource(R.string.settings_automix_title)- else if (crossfade == 0) stringResource(R.string.settings_crossfade_off) else stringResource(R.string.settings_crossfade_seconds, crossfade),+ stringResource(R.string.settings_transitions_title), detail = stringResource(R.string.settings_transitions_detail),+ value = when (com.music.spotui.data.preferences.TransitionPref.mode) {+ com.music.spotui.data.preferences.TransitionPref.Mode.AUTOMIX -> stringResource(R.string.settings_automix_title)+ com.music.spotui.data.preferences.TransitionPref.Mode.CROSSFADE -> stringResource(R.string.settings_transition_crossfade_value, crossfade)+ com.music.spotui.data.preferences.TransitionPref.Mode.OFF -> stringResource(R.string.settings_crossfade_off)+ },chevron = true, onClick = { open(SettingsPage.Crossfade) },)}@@ -364,27 +368,48 @@ private fun StreamingPage(cellular: Boolean, back: () -> Unit) {}}+/** Transitions: off, a crossfade of a chosen length, or AutoMix with its options. */@Composableprivate fun CrossfadePage(back: () -> Unit) {val ctx = LocalContext.currentval pref = com.music.spotui.data.preferences.CrossfadePref- ImmersivePage(title = stringResource(R.string.settings_crossfade_title), onBack = back) {- immersiveGroup("automix", footerRes = R.string.settings_automix_detail) {- row {- ImmersiveSwitchRow(stringResource(R.string.settings_automix_title), checked = com.music.spotui.automix.AutoMix.on,- onChecked = { com.music.spotui.automix.AutoMix.set(it); com.music.spotui.di.LocalPlayer.autoMixChanged(it) })+ val transition = com.music.spotui.data.preferences.TransitionPref+ val automix = com.music.spotui.automix.AutoMix+ val mode = transition.mode+ ImmersivePage(title = stringResource(R.string.settings_transitions_title), onBack = back) {+ immersiveGroup("mode", footerRes = R.string.settings_transitions_detail) {+ for ((m, title, detail) in listOf(+ Triple(TransitionMode.OFF, R.string.settings_crossfade_off, R.string.settings_transition_off_detail),+ Triple(TransitionMode.CROSSFADE, R.string.settings_crossfade_title, R.string.settings_transition_crossfade_detail),+ Triple(TransitionMode.AUTOMIX, R.string.settings_automix_title, R.string.settings_transition_automix_detail),+ )) {+ row {+ ImmersiveChoiceRow(stringResource(title), selected = mode == m, detail = stringResource(detail),+ onClick = { transition.set(ctx, m) })+ }}}- immersiveGroup("choices", footerRes = R.string.settings_crossfade_detail) {- for (v in listOf(0, 3, 6, 9, 12)) {+ if (mode == TransitionMode.CROSSFADE) immersiveGroup("length", headerRes = R.string.settings_crossfade_length, footerRes = R.string.settings_crossfade_detail) {+ for (v in listOf(3, 6, 9, 12)) {row {- ImmersiveChoiceRow(- if (v == 0) stringResource(R.string.settings_crossfade_off) else stringResource(R.string.settings_crossfade_seconds, v),- selected = pref.seconds == v, onClick = { pref.set(ctx, v) },- )+ ImmersiveChoiceRow(stringResource(R.string.settings_crossfade_seconds, v), selected = pref.seconds == v, onClick = { pref.set(ctx, v) })}}}+ if (mode == TransitionMode.AUTOMIX) immersiveGroup("automix", headerRes = R.string.settings_automix_title, footerRes = R.string.settings_automix_detail) {+ row {+ ImmersiveSwitchRow(stringResource(R.string.settings_automix_on_next), checked = automix.mixOnNext,+ onChecked = automix::changeMixOnNext, detail = stringResource(R.string.settings_automix_on_next_detail))+ }+ row {+ ImmersiveSwitchRow(stringResource(R.string.settings_automix_album_order), checked = automix.albumOrder,+ onChecked = automix::changeAlbumOrder, detail = stringResource(R.string.settings_automix_album_order_detail))+ }+ row {+ ImmersiveSwitchRow(stringResource(R.string.settings_automix_show), checked = automix.showInPlayer,+ onChecked = automix::changeShowInPlayer, detail = stringResource(R.string.settings_automix_show_detail))+ }+ }}}diff --git a/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt b/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.ktindex a790928e..ee760dfd 100644--- a/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt+++ b/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt@@ -117,6 +117,7 @@ import com.music.spotui.ui.look.MeshPaletteimport com.music.spotui.ui.look.lerpimport com.music.spotui.ui.components.SongBlendimport com.music.spotui.ui.components.SongBlendCover+import com.music.spotui.ui.components.mixHaloimport com.music.spotui.ui.look.rememberArtworkColorsimport com.music.spotui.ui.look.rememberPauseScaleimport kotlin.math.abs@@ -143,6 +144,8 @@ internal val PLAYER_MAX_WIDTH = 560.dpprivate const val PANEL_TRAVEL_MS = com.music.spotui.ui.immersive.motion.ImmersiveMotion.LONG_MSprivate val ArtCorner = RoundedCornerShape(8.dp)+/** How much bigger the cover is on an AutoMix beat. */+private const val MIX_BEAT_GROW = 0.035f/** What the middle of the player shows. */private object Panel {@@ -406,12 +409,15 @@ fun ImmersivePlayer(val placeable = measurable.measure(Constraints.fixed(side, side))layout(side, side) { placeable.place(0, 0) }}+ // An AutoMix mix: the sleeve glows and rings with the beat (not as the header's thumbnail).+ .mixHalo(state.mixPulse, com.music.spotui.ui.immersive.Immersive.Accent, 8.dp) { 1f - p() }.graphicsLayer {// The pause step back, let go of as the cover collapses into the header.// With a Canvas, the sleeve opens into the clip: it grows and fades as the// clip comes in, and is the thumbnail again in the header.val opened = canvasOpen.value * (1f - p())- val scale = (pauseScale.value + (1f - pauseScale.value) * p()) * (1f + CANVAS_COVER_GROW * opened)+ val beat = 1f + MIX_BEAT_GROW * (state.mixPulse?.level() ?: 0f) * (1f - p())+ val scale = (pauseScale.value + (1f - pauseScale.value) * p()) * (1f + CANVAS_COVER_GROW * opened) * beatscaleX = scalescaleY = scalealpha = 1f - opened@@ -771,10 +777,12 @@ private fun LandscapePlayer(Box(Modifier.size(side)+ .mixHalo(state.mixPulse, com.music.spotui.ui.immersive.Immersive.Accent, 8.dp).graphicsLayer {- // The pause step back, as in the portrait layout.- scaleX = pauseScale.value- scaleY = pauseScale.value+ // The pause step back, as in the portrait layout, and the mix's beat.+ val beat = 1f + MIX_BEAT_GROW * (state.mixPulse?.level() ?: 0f)+ scaleX = pauseScale.value * beat+ scaleY = pauseScale.value * beatshadowElevation = 10.dp.toPx()shape = ArtCornerclip = truediff --git a/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerBridge.kt b/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerBridge.ktindex d83433c3..8171f954 100644--- a/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerBridge.kt+++ b/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerBridge.kt@@ -79,6 +79,9 @@ data class ImmersivePlayerState(* blend; until half way [title], [artist] and the times are still the outgoing song's.*/val blend: com.music.spotui.ui.components.SongBlend? = null,+ /** An AutoMix mix planned or playing (see [com.music.spotui.ui.components.rememberMixCue]), and its beat. */+ val mixCue: com.music.spotui.di.LocalPlayer.MixCue? = null,+ val mixPulse: com.music.spotui.ui.components.MixPulse? = null,)/** What the player does; nothing here touches the UI, the screen owns its sheets and panels. */@@ -144,6 +147,8 @@ fun rememberImmersivePlayer(navController: NavController): ImmersivePlayerBridge// The words follow what is heard: the song going out until half way through a crossfade.val blend = com.music.spotui.ui.components.rememberSongBlend()val outgoing = blend?.takeIf { it.outgoingWords }+ val mixCue = com.music.spotui.ui.components.rememberMixCue()+ val mixPulse = com.music.spotui.ui.components.rememberMixPulse(mixCue)val state = ImmersivePlayerState(title = outgoing?.song?.title ?: title,artist = outgoing?.song?.artist ?: singer,@@ -165,6 +170,8 @@ fun rememberImmersivePlayer(navController: NavController): ImmersivePlayerBridgedeviceName = device,song = if (title.isBlank()) null else nowPlayingSong(vm),blend = blend,+ mixCue = mixCue,+ mixPulse = mixPulse,)// Read at the moment of the tap, not captured: the lambdas below live as long as the screen.diff --git a/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerControls.kt b/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerControls.ktindex 88de50c2..17e68ed4 100644--- a/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerControls.kt+++ b/base/app/src/main/java/com/music/spotui/ui/immersive/player/PlayerControls.kt@@ -12,6 +12,7 @@*/package com.music.spotui.ui.immersive.player+import com.music.spotui.ui.components.zoneOnimport androidx.compose.animation.AnimatedVisibilityimport androidx.compose.animation.Crossfadeimport androidx.compose.animation.animateContentSize@@ -137,8 +138,16 @@ internal fun PlayerScrubber(onValueChange = scrub::drag,onValueChangeFinished = { scrub.release { onSeek((it * state.durationMs).toLong()) } },loading = state.buffering && !scrub.scrubbing,+ // AutoMix: the mix's stretch in the accent from the moment it is planned, beating while it plays.+ mixZone = { state.mixCue?.zoneOn(state.durationMs, incomingShown = state.blend?.outgoingWords == false) },+ mixColor = com.music.spotui.ui.immersive.Immersive.Accent,+ mixPulse = { state.mixPulse?.level() ?: 0f },)ScrubTimes(frame, scrub, state)+ com.music.spotui.ui.components.MixHint(+ state.mixCue, state.positionMs, LocalPlayerTint.current.copy(alpha = 0.8f), com.music.spotui.ui.immersive.Immersive.Accent, state.mixPulse,+ Modifier.align(Alignment.CenterHorizontally).offset(y = (-4).dp),+ )}}diff --git a/base/app/src/main/java/com/music/spotui/ui/look/ThinSlider.kt b/base/app/src/main/java/com/music/spotui/ui/look/ThinSlider.ktindex 9901d3ff..ddc278de 100644--- a/base/app/src/main/java/com/music/spotui/ui/look/ThinSlider.kt+++ b/base/app/src/main/java/com/music/spotui/ui/look/ThinSlider.kt@@ -4,10 +4,12 @@* Modified for Myspoti, 2026-10.** Changes: only the slider and its loading sheen (lines 54-245 and the sheen it draws);- * the Automix beat pulse, the mix crossfade and the transition window are left out.+ * the Automix beat pulse, the mix crossfade and the transition window are left out (Myspoti's+ * own AutoMix stretch is drawn by ui/components/AutoMixVisuals.kt).*/package com.music.spotui.ui.look+import com.music.spotui.ui.components.drawMixZoneimport androidx.compose.animation.AnimatedVisibilityimport androidx.compose.animation.core.FastOutSlowInEasingimport androidx.compose.animation.core.LinearEasing@@ -102,6 +104,11 @@ fun ThinSlider(activeHeight: Dp = 12.dp,activeColor: Color = Color.White.copy(alpha = 0.92f),inactiveColor: Color = Color.White.copy(alpha = 0.26f),+ /** An AutoMix mix's stretch of the bar (fractions), read in the draw; null with none. */+ mixZone: () -> ClosedFloatingPointRange<Float>? = { null },+ mixColor: Color = Color.White,+ /** The mix's beat, 0..1, read in the draw: the stretch thickens and glows with it. */+ mixPulse: () -> Float = { 0f },) {var dragging by remember { mutableStateOf(false) }val height by animateDpAsState(@@ -193,6 +200,9 @@ fun ThinSlider(cornerRadius = radius,)}+ mixZone()?.let { z ->+ drawMixZone(z, value().coerceIn(0f, 1f) * fillFactor, size.height / 2f, size.height, mixColor, mixPulse())+ }}// Composed only while loading. The infinite animation therefore costs no// frames during ordinary playback, and AnimatedVisibility lets it leave gracefully.diff --git a/base/app/src/main/java/com/music/spotui/ui/screens/LyricsScreen.kt b/base/app/src/main/java/com/music/spotui/ui/screens/LyricsScreen.ktindex 9875cd78..b17d528f 100644--- a/base/app/src/main/java/com/music/spotui/ui/screens/LyricsScreen.kt+++ b/base/app/src/main/java/com/music/spotui/ui/screens/LyricsScreen.kt@@ -619,7 +619,7 @@ fun LyricsScreen(Text(stringResource(R.string.lyrics_meaning_hint),color = palette.highlight.copy(alpha = 0.8f), fontSize = 13.sp,- modifier = Modifier.padding(bottom = 8.dp),+ modifier = Modifier.padding(bottom = 8.dp).revealIn(reveal, 0.35f, 22f),)}if (!l.synced) item {@@ -627,7 +627,7 @@ fun LyricsScreen(stringResource(R.string.lyrics_fullscreen_unsynced),color = palette.highlight.copy(alpha = 0.8f),fontSize = 13.sp,- modifier = Modifier.padding(bottom = 8.dp),+ modifier = Modifier.padding(bottom = 8.dp).revealIn(reveal, 0.35f, 22f),)}itemsIndexed(l.lines, key = { i, _ -> i }) { i, line ->@@ -664,7 +664,8 @@ fun LyricsScreen(stringResource(R.string.lyrics_credential_note, p),color = palette.highlight.copy(alpha = 0.8f),fontSize = 12.sp,- modifier = Modifier.padding(top = 24.dp),+ // With the lines, in and out: alone it stayed up through the close, then vanished.+ modifier = Modifier.padding(top = 24.dp).revealIn(reveal, 0.71f, 22f),)}}diff --git a/base/app/src/main/java/com/music/spotui/ui/screens/SettingsScreen.kt b/base/app/src/main/java/com/music/spotui/ui/screens/SettingsScreen.ktindex cb6f516a..c06980f7 100644--- a/base/app/src/main/java/com/music/spotui/ui/screens/SettingsScreen.kt+++ b/base/app/src/main/java/com/music/spotui/ui/screens/SettingsScreen.kt@@ -1,5 +1,6 @@package com.music.spotui.ui.screens+import com.music.spotui.data.preferences.TransitionPref.Mode as TransitionModeimport com.music.spotui.ui.theme.toneimport com.music.spotui.ui.theme.AppTextimport com.music.spotui.ui.theme.AppMuted@@ -125,13 +126,7 @@ fun SettingsScreen(navController: NavController) {checked = com.music.spotui.data.preferences.AppShufflePref.on,onChecked = { com.music.spotui.data.preferences.AppShufflePref.set(ctx, it) },)- CrossfadeRow()- OptionRow(- label = stringResource(R.string.settings_automix_title),- detail = stringResource(R.string.settings_automix_detail),- checked = com.music.spotui.automix.AutoMix.on,- onChecked = { com.music.spotui.automix.AutoMix.set(it); com.music.spotui.di.LocalPlayer.autoMixChanged(it) },- )+ TransitionsRow()// The local player's equalizer, speed and silence skipping (never Spotify's own songs).Column(Modifier.fillMaxWidth().clickable { navController.navigate(com.music.spotui.ui.navigation.Routes.Equalizer.route) }@@ -490,14 +485,30 @@ private fun AccentRow(look: com.music.spotui.data.preferences.Look) {* songs never overlap (the page plays one media element), so this is a fade, not a true* crossfade. The default is 0: off, as before.*/+/**+ * Transitions: off, a crossfade (its length under it) or AutoMix (its options under it), with+ * what the choice does in one line.+ */@Composable-private fun CrossfadeRow() {+private fun TransitionsRow() {val ctx = androidx.compose.ui.platform.LocalContext.currentval pref = com.music.spotui.data.preferences.CrossfadePref+ val transition = com.music.spotui.data.preferences.TransitionPref+ val automix = com.music.spotui.automix.AutoMix+ val mode = transition.mode+ @Composable+ fun Chip(label: String, selected: Boolean, onClick: () -> Unit) = Text(+ label,+ color = if (selected) Color.Black else AppText, fontSize = 14.sp,+ modifier = Modifier.clip(androidx.compose.foundation.shape.RoundedCornerShape(50))+ .background(if (selected) com.music.spotui.ui.theme.AppAccent else tone(0xFF2A2A2A))+ .clickable(onClick = onClick)+ .padding(horizontal = 14.dp, vertical = 8.dp),+ )androidx.compose.foundation.layout.Column(Modifier.fillMaxWidth().padding(horizontal = 20.dp, vertical = 10.dp)) {- Text(stringResource(R.string.settings_crossfade_title), color = AppText, fontSize = 16.sp)+ Text(stringResource(R.string.settings_transitions_title), color = AppText, fontSize = 16.sp)Text(- stringResource(R.string.settings_crossfade_detail),+ stringResource(R.string.settings_transitions_detail),color = AppMuted, fontSize = 12.sp,modifier = Modifier.padding(top = 2.dp),)@@ -505,19 +516,33 @@ private fun CrossfadeRow() {horizontalArrangement = androidx.compose.foundation.layout.Arrangement.spacedBy(8.dp),modifier = Modifier.padding(top = 10.dp),) {- for (v in listOf(0, 3, 6, 9, 12)) {- val selected = pref.seconds == v- Text(- if (v == 0) stringResource(R.string.settings_crossfade_off)- else stringResource(R.string.settings_crossfade_seconds, v),- color = if (selected) Color.Black else AppText, fontSize = 14.sp,- modifier = Modifier.clip(androidx.compose.foundation.shape.RoundedCornerShape(50))- .background(if (selected) com.music.spotui.ui.theme.AppAccent else tone(0xFF2A2A2A))- .clickable { pref.set(ctx, v) }- .padding(horizontal = 14.dp, vertical = 8.dp),- )- }+ Chip(stringResource(R.string.settings_crossfade_off), mode == TransitionMode.OFF) { transition.set(ctx, TransitionMode.OFF) }+ Chip(stringResource(R.string.settings_crossfade_title), mode == TransitionMode.CROSSFADE) { transition.set(ctx, TransitionMode.CROSSFADE) }+ Chip(stringResource(R.string.settings_automix_title), mode == TransitionMode.AUTOMIX) { transition.set(ctx, TransitionMode.AUTOMIX) }}+ Text(+ stringResource(when (mode) {+ TransitionMode.OFF -> R.string.settings_transition_off_detail+ TransitionMode.CROSSFADE -> R.string.settings_transition_crossfade_detail+ TransitionMode.AUTOMIX -> R.string.settings_transition_automix_detail+ }),+ color = AppMuted, fontSize = 12.sp,+ modifier = Modifier.padding(top = 8.dp),+ )+ if (mode == TransitionMode.CROSSFADE) Row(+ horizontalArrangement = androidx.compose.foundation.layout.Arrangement.spacedBy(8.dp),+ modifier = Modifier.padding(top = 10.dp),+ ) {+ for (v in listOf(3, 6, 9, 12)) Chip(stringResource(R.string.settings_crossfade_seconds, v), pref.seconds == v) { pref.set(ctx, v) }+ }+ }+ if (mode == TransitionMode.AUTOMIX) {+ OptionRow(stringResource(R.string.settings_automix_on_next), stringResource(R.string.settings_automix_on_next_detail),+ checked = automix.mixOnNext, onChecked = automix::changeMixOnNext)+ OptionRow(stringResource(R.string.settings_automix_album_order), stringResource(R.string.settings_automix_album_order_detail),+ checked = automix.albumOrder, onChecked = automix::changeAlbumOrder)+ OptionRow(stringResource(R.string.settings_automix_show), stringResource(R.string.settings_automix_show_detail),+ checked = automix.showInPlayer, onChecked = automix::changeShowInPlayer)}}diff --git a/base/app/src/main/res/values-de/myspoti_strings.xml b/base/app/src/main/res/values-de/myspoti_strings.xmlindex d951c343..43360e6b 100644--- a/base/app/src/main/res/values-de/myspoti_strings.xml+++ b/base/app/src/main/res/values-de/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">%1$s ist mit anderen Lautsprechern gruppiert: Wähle den Hauptlautsprecher der Gruppe oder hebe die Gruppierung in der Sonos-App auf.</string><string name="voice_search">Sprachsuche</string><string name="voice_search_unavailable">Für die Sprachsuche wird die Google-App benötigt</string>+ <string name="settings_transitions_title">Übergänge</string>+ <string name="settings_transitions_detail">Wie Songs aus Erweiterungen, Downloads und Dateien auf dem Telefon ineinander übergehen. Spotify-Streams wechseln immer mit einer kurzen Blende.</string>+ <string name="settings_transition_off_detail">Jeder Song endet, dann beginnt der nächste.</string>+ <string name="settings_transition_crossfade_detail">Das Ende eines Songs geht in den nächsten über.</string>+ <string name="settings_transition_automix_detail">Mischt wie ein DJ: im Takt, am Ende einer Phrase, im gleichen Tempo. Der Mix erscheint auf der Fortschrittsleiste und das Cover pulsiert mit.</string>+ <string name="settings_transition_crossfade_value">Überblendung %1$d s</string>+ <string name="settings_crossfade_length">Dauer</string>+ <string name="settings_automix_on_next">Bei Weiter mischen</string>+ <string name="settings_automix_on_next_detail">Weiter holt den nächsten Song im Takt herein, statt hart zu schneiden.</string>+ <string name="settings_automix_album_order">Alben am Stück lassen</string>+ <string name="settings_automix_album_order_detail">Kein Mix zwischen Songs, die auf ihrem Album aufeinander folgen: Sie gehen ineinander über wie auf der Platte.</string>+ <string name="settings_automix_show">Mix im Player zeigen</string>+ <string name="settings_automix_show_detail">Der Abschnitt des Mixes ist auf der Fortschrittsleiste farbig, und das Cover leuchtet und pulsiert im Takt, solange er läuft.</string>+ <string name="automix_hint_next">Mix zu %1$s</string>+ <string name="automix_hint_mixing">Mischt zu %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">DJ-artige Übergänge zwischen Songs aus Erweiterungen, Downloads und lokalen Dateien: Jeder Song wird einmal analysiert (Beats, Takte, Phrasen, Tonart) und der nächste setzt im Takt und im gleichen Tempo ein, mit einem Bass-Tausch. Songs, die sich nicht angleichen lassen, bekommen einen Schnitt im Takt oder eine Blende. Streams werden nur in unbegrenzten Netzen analysiert.</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 9e447954..db1f2720 100644--- a/base/app/src/main/res/values-el/myspoti_strings.xml+++ b/base/app/src/main/res/values-el/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">Η συσκευή %1$s είναι σε ομάδα με άλλα ηχεία: επιλέξτε το κύριο ηχείο της ομάδας ή καταργήστε την ομάδα στην εφαρμογή Sonos.</string><string name="voice_search">Φωνητική αναζήτηση</string><string name="voice_search_unavailable">Η φωνητική αναζήτηση χρειάζεται την εφαρμογή Google</string>+ <string name="settings_transitions_title">Μεταβάσεις</string>+ <string name="settings_transitions_detail">Πώς διαδέχονται το ένα το άλλο τα τραγούδια από επεκτάσεις, λήψεις και αρχεία του τηλεφώνου. Οι ροές του Spotify αλλάζουν πάντα με ένα σύντομο σβήσιμο.</string>+ <string name="settings_transition_off_detail">Κάθε τραγούδι τελειώνει και μετά ξεκινά το επόμενο.</string>+ <string name="settings_transition_crossfade_detail">Το τέλος ενός τραγουδιού σβήνει μέσα στο επόμενο.</string>+ <string name="settings_transition_automix_detail">Μιξάρει σαν DJ: στον ρυθμό, στο τέλος μιας φράσης, στο ίδιο τέμπο. Η μίξη φαίνεται στη γραμμή αναπαραγωγής και το εξώφυλλο πάλλεται μαζί της.</string>+ <string name="settings_transition_crossfade_value">Crossfade %1$d δ</string>+ <string name="settings_crossfade_length">Διάρκεια</string>+ <string name="settings_automix_on_next">Μίξη στο Επόμενο</string>+ <string name="settings_automix_on_next_detail">Το Επόμενο φέρνει το επόμενο τραγούδι στον ρυθμό αντί να κόβει.</string>+ <string name="settings_automix_album_order">Τα άλμπουμ ολόκληρα</string>+ <string name="settings_automix_album_order_detail">Χωρίς μίξη ανάμεσα σε τραγούδια που διαδέχονται το ένα το άλλο στο άλμπουμ τους: δένουν όπως στον δίσκο.</string>+ <string name="settings_automix_show">Η μίξη στο πρόγραμμα αναπαραγωγής</string>+ <string name="settings_automix_show_detail">Το τμήμα της μίξης χρωματίζεται στη γραμμή αναπαραγωγής και το εξώφυλλο λάμπει και πάλλεται στον ρυθμό όσο διαρκεί.</string>+ <string name="automix_hint_next">Μίξη προς %1$s</string>+ <string name="automix_hint_mixing">Μίξη προς %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Μεταβάσεις σαν DJ ανάμεσα σε τραγούδια από επεκτάσεις, λήψεις και τοπικά αρχεία: κάθε τραγούδι αναλύεται μία φορά (χτύποι, μέτρα, φράσεις, τονικότητα) και το επόμενο μπαίνει στον ρυθμό, στο ίδιο τέμπο, με εναλλαγή των μπάσων. Όσα δεν συγχρονίζονται παίρνουν κόψιμο στον ρυθμό ή σβήσιμο. Οι ροές αναλύονται μόνο σε δίκτυα χωρίς χρέωση δεδομένων.</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 0b35dc2d..ab0a58bc 100644--- a/base/app/src/main/res/values-es/myspoti_strings.xml+++ b/base/app/src/main/res/values-es/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">%1$s está agrupado con otros altavoces: elige el altavoz principal del grupo o desagrúpalo en la app de Sonos.</string><string name="voice_search">Buscar por voz</string><string name="voice_search_unavailable">La búsqueda por voz necesita la app de Google</string>+ <string name="settings_transitions_title">Transiciones</string>+ <string name="settings_transitions_detail">Cómo se suceden las canciones de extensiones, descargas y archivos del teléfono. Las transmisiones de Spotify siempre cambian con un fundido corto.</string>+ <string name="settings_transition_off_detail">Cada canción termina y luego empieza la siguiente.</string>+ <string name="settings_transition_crossfade_detail">El final de una canción se funde con la siguiente.</string>+ <string name="settings_transition_automix_detail">Mezcla como un DJ: a tiempo, al final de una frase, con el tempo igualado. La mezcla se ve en la barra de reproducción y la portada late con ella.</string>+ <string name="settings_transition_crossfade_value">Fundido %1$d s</string>+ <string name="settings_crossfade_length">Duración</string>+ <string name="settings_automix_on_next">Mezclar con Siguiente</string>+ <string name="settings_automix_on_next_detail">Siguiente hace entrar la próxima canción a tiempo en lugar de cortar.</string>+ <string name="settings_automix_album_order">Mantener los álbumes enteros</string>+ <string name="settings_automix_album_order_detail">Sin mezcla entre canciones que se siguen en su álbum: se encadenan como en el disco.</string>+ <string name="settings_automix_show">Mostrar la mezcla en el reproductor</string>+ <string name="settings_automix_show_detail">El tramo de la mezcla se colorea en la barra de reproducción, y la portada brilla y late al ritmo mientras suena.</string>+ <string name="automix_hint_next">Mezcla hacia %1$s</string>+ <string name="automix_hint_mixing">Mezclando hacia %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Transiciones al estilo DJ entre canciones de extensiones, descargas y archivos locales: cada canción se analiza una vez (pulsos, compases, frases, tonalidad) y la siguiente entra a tiempo, con el tempo igualado y un intercambio de graves. Las que no se pueden sincronizar tienen un corte a tiempo o un fundido. Las transmisiones solo se analizan en redes sin límite 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 a2df8c91..ba2369cd 100644--- a/base/app/src/main/res/values-fr/myspoti_strings.xml+++ b/base/app/src/main/res/values-fr/myspoti_strings.xml@@ -682,4 +682,19 @@<string name="lan_sonos_group">%1$s est groupé avec d’autres enceintes : choisissez l’enceinte principale du groupe, ou dégroupez-le dans l’application Sonos.</string><string name="voice_search">Rechercher par la voix</string><string name="voice_search_unavailable">La recherche vocale nécessite l\'application Google</string>+ <string name="settings_transitions_title">Transitions</string>+ <string name="settings_transitions_detail">Comment s\'enchaînent les morceaux des extensions, des téléchargements et du téléphone. Les flux Spotify changent toujours avec un court fondu.</string>+ <string name="settings_transition_off_detail">Chaque morceau se termine, puis le suivant commence.</string>+ <string name="settings_transition_crossfade_detail">La fin d\'un morceau se fond dans le suivant.</string>+ <string name="settings_transition_automix_detail">Mixe comme un DJ : sur le temps, en fin de phrase, au même tempo. Le mix s\'affiche sur la barre de lecture et la pochette pulse avec.</string>+ <string name="settings_transition_crossfade_value">Fondu %1$d s</string>+ <string name="settings_crossfade_length">Durée</string>+ <string name="settings_automix_on_next">Mixer sur Suivant</string>+ <string name="settings_automix_on_next_detail">Suivant fait entrer le morceau suivant sur le temps au lieu de couper.</string>+ <string name="settings_automix_album_order">Garder les albums intacts</string>+ <string name="settings_automix_album_order_detail">Pas de mix entre deux morceaux qui se suivent sur leur album : ils s\'enchaînent comme sur le disque.</string>+ <string name="settings_automix_show">Afficher le mix dans le lecteur</string>+ <string name="settings_automix_show_detail">La portion du mix est colorée sur la barre de lecture, et la pochette s\'illumine et pulse au rythme pendant le mix.</string>+ <string name="automix_hint_next">Mix vers %1$s</string>+ <string name="automix_hint_mixing">Mix en cours vers %1$s</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 992f8b21..0173d499 100644--- a/base/app/src/main/res/values-it/myspoti_strings.xml+++ b/base/app/src/main/res/values-it/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">%1$s è raggruppato con altri altoparlanti: scegli l’altoparlante principale del gruppo o separalo nell’app Sonos.</string><string name="voice_search">Cerca con la voce</string><string name="voice_search_unavailable">La ricerca vocale richiede l\'app Google</string>+ <string name="settings_transitions_title">Transizioni</string>+ <string name="settings_transitions_detail">Come si susseguono i brani da estensioni, download e file del telefono. Gli stream di Spotify cambiano sempre con una breve dissolvenza.</string>+ <string name="settings_transition_off_detail">Ogni brano finisce, poi inizia il successivo.</string>+ <string name="settings_transition_crossfade_detail">La fine di un brano sfuma nel successivo.</string>+ <string name="settings_transition_automix_detail">Mixa come un DJ: a tempo, alla fine di una frase, con il tempo allineato. Il mix appare sulla barra di avanzamento e la copertina pulsa con esso.</string>+ <string name="settings_transition_crossfade_value">Dissolvenza %1$d s</string>+ <string name="settings_crossfade_length">Durata</string>+ <string name="settings_automix_on_next">Mixa con Avanti</string>+ <string name="settings_automix_on_next_detail">Avanti fa entrare il brano successivo a tempo invece di tagliare.</string>+ <string name="settings_automix_album_order">Album interi</string>+ <string name="settings_automix_album_order_detail">Nessun mix tra brani che si susseguono nel loro album: si legano come sul disco.</string>+ <string name="settings_automix_show">Mostra il mix nel player</string>+ <string name="settings_automix_show_detail">Il tratto del mix è colorato sulla barra di avanzamento e la copertina si illumina e pulsa a tempo mentre suona.</string>+ <string name="automix_hint_next">Mix verso %1$s</string>+ <string name="automix_hint_mixing">Mix in corso verso %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Transizioni in stile DJ tra brani da estensioni, download e file locali: ogni brano viene analizzato una volta (battiti, battute, frasi, tonalità) e il successivo entra a tempo, con il tempo allineato e uno scambio dei bassi. I brani non sincronizzabili hanno un taglio a tempo o una dissolvenza. Gli stream vengono analizzati solo su reti senza limiti.</string></resources>diff --git a/base/app/src/main/res/values-pl/myspoti_strings.xml b/base/app/src/main/res/values-pl/myspoti_strings.xmlindex b93f04eb..7fd3b2d9 100644--- a/base/app/src/main/res/values-pl/myspoti_strings.xml+++ b/base/app/src/main/res/values-pl/myspoti_strings.xml@@ -690,4 +690,21 @@<string name="lan_sonos_group">%1$s jest zgrupowany z innymi głośnikami: wybierz główny głośnik grupy albo rozgrupuj go w aplikacji Sonos.</string><string name="voice_search">Szukaj głosowo</string><string name="voice_search_unavailable">Wyszukiwanie głosowe wymaga aplikacji Google</string>+ <string name="settings_transitions_title">Przejścia</string>+ <string name="settings_transitions_detail">Jak następują po sobie utwory z rozszerzeń, pobrań i plików na telefonie. Strumienie Spotify zawsze zmieniają się z krótkim wyciszeniem.</string>+ <string name="settings_transition_off_detail">Każdy utwór się kończy, potem zaczyna się następny.</string>+ <string name="settings_transition_crossfade_detail">Koniec utworu przechodzi płynnie w następny.</string>+ <string name="settings_transition_automix_detail">Miksuje jak DJ: w rytm, na końcu frazy, z dopasowanym tempem. Miks widać na pasku odtwarzania, a okładka pulsuje razem z nim.</string>+ <string name="settings_transition_crossfade_value">Przenikanie %1$d s</string>+ <string name="settings_crossfade_length">Długość</string>+ <string name="settings_automix_on_next">Miksuj przy Dalej</string>+ <string name="settings_automix_on_next_detail">Dalej wprowadza następny utwór w rytm zamiast go ucinać.</string>+ <string name="settings_automix_album_order">Albumy w całości</string>+ <string name="settings_automix_album_order_detail">Bez miksu między utworami, które następują po sobie na albumie: łączą się jak na płycie.</string>+ <string name="settings_automix_show">Pokazuj miks w odtwarzaczu</string>+ <string name="settings_automix_show_detail">Fragment miksu jest pokolorowany na pasku odtwarzania, a okładka świeci i pulsuje w rytm, gdy trwa.</string>+ <string name="automix_hint_next">Miks do %1$s</string>+ <string name="automix_hint_mixing">Miksowanie do %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Przejścia w stylu DJ między utworami z rozszerzeń, pobrań i plików lokalnych: każdy utwór jest analizowany raz (bity, takty, frazy, tonacja), a następny wchodzi w rytm, z dopasowanym tempem i zamianą basu. Utwory, których nie da się zgrać, dostają cięcie w rytm albo wyciszenie. Strumienie są analizowane tylko w sieciach bez limitu.</string></resources>diff --git a/base/app/src/main/res/values-pt-rBR/myspoti_strings.xml b/base/app/src/main/res/values-pt-rBR/myspoti_strings.xmlindex 846bfb64..c53dc4d2 100644--- a/base/app/src/main/res/values-pt-rBR/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt-rBR/myspoti_strings.xml@@ -653,4 +653,21 @@<string name="lan_sonos_group">%1$s está agrupado com outros alto-falantes: escolha o alto-falante principal do grupo ou desagrupe-o no app da Sonos.</string><string name="voice_search">Pesquisar por voz</string><string name="voice_search_unavailable">A pesquisa por voz precisa do app Google</string>+ <string name="settings_transitions_title">Transições</string>+ <string name="settings_transitions_detail">Como as músicas de extensões, downloads e arquivos do celular se sucedem. As transmissões do Spotify sempre trocam com um fade curto.</string>+ <string name="settings_transition_off_detail">Cada música termina e depois começa a próxima.</string>+ <string name="settings_transition_crossfade_detail">O fim de uma música se funde com a próxima.</string>+ <string name="settings_transition_automix_detail">Mixa como um DJ: no tempo, no fim de uma frase, com o andamento igualado. A mixagem aparece na barra de reprodução e a capa pulsa junto.</string>+ <string name="settings_transition_crossfade_value">Crossfade %1$d s</string>+ <string name="settings_crossfade_length">Duração</string>+ <string name="settings_automix_on_next">Mixar no Próxima</string>+ <string name="settings_automix_on_next_detail">Próxima traz a próxima música no tempo em vez de cortar.</string>+ <string name="settings_automix_album_order">Álbuns inteiros</string>+ <string name="settings_automix_album_order_detail">Sem mixagem entre músicas que se seguem no álbum: elas se encadeiam como no disco.</string>+ <string name="settings_automix_show">Mostrar a mixagem no player</string>+ <string name="settings_automix_show_detail">O trecho da mixagem fica colorido na barra de reprodução, e a capa brilha e pulsa no ritmo enquanto toca.</string>+ <string name="automix_hint_next">Mixagem para %1$s</string>+ <string name="automix_hint_mixing">Mixando para %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Transições no estilo DJ entre músicas de extensões, downloads e arquivos locais: cada música é analisada uma vez (batidas, compassos, frases, tom) e a próxima entra no tempo, com o andamento igualado e uma troca de graves. As que não dá para sincronizar ganham um corte no tempo ou um fade. As transmissões só são analisadas em redes sem limite de dados.</string></resources>diff --git a/base/app/src/main/res/values-pt-rPT/myspoti_strings.xml b/base/app/src/main/res/values-pt-rPT/myspoti_strings.xmlindex dcd5814c..7bc06d31 100644--- a/base/app/src/main/res/values-pt-rPT/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt-rPT/myspoti_strings.xml@@ -622,4 +622,21 @@<string name="lan_sonos_group">%1$s está agrupado com outras colunas: escolha a coluna principal do grupo ou desagrupe-o na aplicação Sonos.</string><string name="voice_search">Pesquisar por voz</string><string name="voice_search_unavailable">A pesquisa por voz precisa da app Google</string>+ <string name="settings_transitions_title">Transições</string>+ <string name="settings_transitions_detail">Como se sucedem as músicas de extensões, transferências e ficheiros do telemóvel. As transmissões do Spotify mudam sempre com um fade curto.</string>+ <string name="settings_transition_off_detail">Cada música termina e depois começa a seguinte.</string>+ <string name="settings_transition_crossfade_detail">O fim de uma música funde-se com a seguinte.</string>+ <string name="settings_transition_automix_detail">Mistura como um DJ: no tempo, no fim de uma frase, com o andamento igualado. A mistura aparece na barra de reprodução e a capa pulsa com ela.</string>+ <string name="settings_transition_crossfade_value">Crossfade %1$d s</string>+ <string name="settings_crossfade_length">Duração</string>+ <string name="settings_automix_on_next">Misturar em Seguinte</string>+ <string name="settings_automix_on_next_detail">Seguinte traz a próxima música no tempo em vez de cortar.</string>+ <string name="settings_automix_album_order">Álbuns inteiros</string>+ <string name="settings_automix_album_order_detail">Sem mistura entre músicas que se seguem no seu álbum: encadeiam-se como no disco.</string>+ <string name="settings_automix_show">Mostrar a mistura no leitor</string>+ <string name="settings_automix_show_detail">O trecho da mistura é colorido na barra de reprodução, e a capa brilha e pulsa ao ritmo enquanto toca.</string>+ <string name="automix_hint_next">Mistura para %1$s</string>+ <string name="automix_hint_mixing">A misturar para %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Transições ao estilo DJ entre músicas de extensões, transferências e ficheiros locais: cada música é analisada uma vez (batidas, compassos, frases, tonalidade) e a seguinte entra no tempo, com o andamento igualado e uma troca de graves. As que não podem ser sincronizadas têm um corte no tempo ou um fade. As transmissões só são analisadas em redes sem limite de dados.</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 9c92218c..f8b136d2 100644--- a/base/app/src/main/res/values-pt/myspoti_strings.xml+++ b/base/app/src/main/res/values-pt/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">%1$s está agrupado com outros alto-falantes: escolha o alto-falante principal do grupo ou desagrupe-o no app da Sonos.</string><string name="voice_search">Pesquisar por voz</string><string name="voice_search_unavailable">A pesquisa por voz precisa da app Google</string>+ <string name="settings_transitions_title">Transições</string>+ <string name="settings_transitions_detail">Como se sucedem as músicas de extensões, transferências e ficheiros do telemóvel. As transmissões do Spotify mudam sempre com um fade curto.</string>+ <string name="settings_transition_off_detail">Cada música termina e depois começa a seguinte.</string>+ <string name="settings_transition_crossfade_detail">O fim de uma música funde-se com a seguinte.</string>+ <string name="settings_transition_automix_detail">Mistura como um DJ: no tempo, no fim de uma frase, com o andamento igualado. A mistura aparece na barra de reprodução e a capa pulsa com ela.</string>+ <string name="settings_transition_crossfade_value">Crossfade %1$d s</string>+ <string name="settings_crossfade_length">Duração</string>+ <string name="settings_automix_on_next">Misturar em Seguinte</string>+ <string name="settings_automix_on_next_detail">Seguinte traz a próxima música no tempo em vez de cortar.</string>+ <string name="settings_automix_album_order">Álbuns inteiros</string>+ <string name="settings_automix_album_order_detail">Sem mistura entre músicas que se seguem no seu álbum: encadeiam-se como no disco.</string>+ <string name="settings_automix_show">Mostrar a mistura no leitor</string>+ <string name="settings_automix_show_detail">O trecho da mistura é colorido na barra de reprodução, e a capa brilha e pulsa ao ritmo enquanto toca.</string>+ <string name="automix_hint_next">Mistura para %1$s</string>+ <string name="automix_hint_mixing">A misturar para %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Transições ao estilo DJ entre músicas de extensões, transferências e ficheiros locais: cada música é analisada uma vez (batidas, compassos, frases, tonalidade) e a seguinte entra no tempo, com o andamento igualado e uma troca de graves. As que não podem ser sincronizadas têm um corte no tempo ou um fade. As transmissões só são analisadas em redes sem limite de dados.</string></resources>diff --git a/base/app/src/main/res/values-ru/myspoti_strings.xml b/base/app/src/main/res/values-ru/myspoti_strings.xmlindex 0af7044e..d3a05226 100644--- a/base/app/src/main/res/values-ru/myspoti_strings.xml+++ b/base/app/src/main/res/values-ru/myspoti_strings.xml@@ -690,4 +690,21 @@<string name="lan_sonos_group">%1$s сгруппирован с другими колонками: выберите главную колонку группы или разгруппируйте его в приложении Sonos.</string><string name="voice_search">Голосовой поиск</string><string name="voice_search_unavailable">Для голосового поиска нужно приложение Google</string>+ <string name="settings_transitions_title">Переходы</string>+ <string name="settings_transitions_detail">Как сменяют друг друга треки из расширений, загрузок и файлов телефона. Потоки Spotify всегда сменяются коротким затуханием.</string>+ <string name="settings_transition_off_detail">Каждый трек заканчивается, затем начинается следующий.</string>+ <string name="settings_transition_crossfade_detail">Конец трека плавно переходит в следующий.</string>+ <string name="settings_transition_automix_detail">Сводит как диджей: в такт, в конце фразы, с выровненным темпом. Сведение видно на полосе воспроизведения, а обложка пульсирует вместе с ним.</string>+ <string name="settings_transition_crossfade_value">Кроссфейд %1$d с</string>+ <string name="settings_crossfade_length">Длительность</string>+ <string name="settings_automix_on_next">Сводить по «Далее»</string>+ <string name="settings_automix_on_next_detail">«Далее» вводит следующий трек в такт, а не обрывает.</string>+ <string name="settings_automix_album_order">Альбомы целиком</string>+ <string name="settings_automix_album_order_detail">Без сведения между треками, идущими подряд на своём альбоме: они переходят друг в друга, как на пластинке.</string>+ <string name="settings_automix_show">Показывать сведение в плеере</string>+ <string name="settings_automix_show_detail">Участок сведения выделен цветом на полосе воспроизведения, а обложка светится и пульсирует в такт, пока оно идёт.</string>+ <string name="automix_hint_next">Сведение в %1$s</string>+ <string name="automix_hint_mixing">Сведение в %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">Переходы в стиле диджея между треками из расширений, загрузок и локальных файлов: каждый трек анализируется один раз (доли, такты, фразы, тональность), и следующий вступает в такт, с выровненным темпом и сменой баса. Треки, которые нельзя свести, получают склейку в такт или затухание. Потоки анализируются только в безлимитных сетях.</string></resources>diff --git a/base/app/src/main/res/values-zh/myspoti_strings.xml b/base/app/src/main/res/values-zh/myspoti_strings.xmlindex 3717d189..0a2db649 100644--- a/base/app/src/main/res/values-zh/myspoti_strings.xml+++ b/base/app/src/main/res/values-zh/myspoti_strings.xml@@ -675,4 +675,21 @@<string name="lan_sonos_group">%1$s 与其他音箱编组:请选择该组的主音箱,或在 Sonos 应用中取消编组。</string><string name="voice_search">语音搜索</string><string name="voice_search_unavailable">语音搜索需要安装 Google 应用</string>+ <string name="settings_transitions_title">过渡</string>+ <string name="settings_transitions_detail">来自扩展、下载和手机文件的歌曲如何衔接。Spotify 串流始终以短暂淡变切换。</string>+ <string name="settings_transition_off_detail">每首歌结束后再开始下一首。</string>+ <string name="settings_transition_crossfade_detail">一首歌的结尾淡入下一首。</string>+ <string name="settings_transition_automix_detail">像 DJ 一样混音:卡在节拍上、在乐句结尾、速度对齐。混音段显示在进度条上,封面随之律动。</string>+ <string name="settings_transition_crossfade_value">淡入淡出 %1$d 秒</string>+ <string name="settings_crossfade_length">时长</string>+ <string name="settings_automix_on_next">下一首时混音</string>+ <string name="settings_automix_on_next_detail">按“下一首”时在节拍上引入下一首,而不是直接切断。</string>+ <string name="settings_automix_album_order">保持专辑完整</string>+ <string name="settings_automix_album_order_detail">专辑中相邻的歌曲之间不混音:像唱片上一样直接衔接。</string>+ <string name="settings_automix_show">在播放器中显示混音</string>+ <string name="settings_automix_show_detail">混音段在进度条上以颜色标出,混音时封面会随节拍发光和律动。</string>+ <string name="automix_hint_next">即将混入 %1$s</string>+ <string name="automix_hint_mixing">正在混入 %1$s</string>+ <string name="settings_automix_title">AutoMix</string>+ <string name="settings_automix_detail">在扩展、下载和本地文件的歌曲之间进行 DJ 式过渡:每首歌只分析一次(节拍、小节、乐句、调性),下一首在节拍上进入,速度对齐并交换低音。无法对拍的歌曲会在节拍上切换或淡变。串流仅在不计流量的网络上分析。</string></resources>diff --git a/base/app/src/main/res/values/myspoti_strings.xml b/base/app/src/main/res/values/myspoti_strings.xmlindex 487cacf5..6a07ecc7 100644--- a/base/app/src/main/res/values/myspoti_strings.xml+++ b/base/app/src/main/res/values/myspoti_strings.xml@@ -683,4 +683,19 @@<string name="lan_sonos_group">%1$s is grouped with other speakers: pick the group’s main speaker, or ungroup it in the Sonos app.</string><string name="voice_search">Search by voice</string><string name="voice_search_unavailable">Voice search needs the Google app installed</string>+ <string name="settings_transitions_title">Transitions</string>+ <string name="settings_transitions_detail">How songs from extensions, downloads and phone files follow each other. Spotify streams always change with a short fade.</string>+ <string name="settings_transition_off_detail">Each song ends, then the next one starts.</string>+ <string name="settings_transition_crossfade_detail">The end of a song fades into the next one.</string>+ <string name="settings_transition_automix_detail">Mixes like a DJ: on the beat, at the end of a phrase, tempos matched. The mix shows on the seek bar and the cover pulses with it.</string>+ <string name="settings_transition_crossfade_value">Crossfade %1$d s</string>+ <string name="settings_crossfade_length">Length</string>+ <string name="settings_automix_on_next">Mix on Next</string>+ <string name="settings_automix_on_next_detail">Next brings the next song in on the beat instead of cutting.</string>+ <string name="settings_automix_album_order">Keep albums whole</string>+ <string name="settings_automix_album_order_detail">No mix between songs that follow each other on their album: they run into each other as on the record.</string>+ <string name="settings_automix_show">Show the mix in the player</string>+ <string name="settings_automix_show_detail">The mix\'s stretch is coloured on the seek bar, and the cover glows and pulses with the beat while it plays.</string>+ <string name="automix_hint_next">Mix into %1$s</string>+ <string name="automix_hint_mixing">Mixing into %1$s</string></resources>