@@ -33,6 +33,9 @@ val GridItemsSizeKey = stringPreferencesKey("gridItemSize")
3333val SliderStyleKey = stringPreferencesKey(" sliderStyle" )
3434val SwipeToSongKey = booleanPreferencesKey(" SwipeToSong" )
3535val PlayerDesignStyleKey = stringPreferencesKey(" playerDesignStyle" )
36+ val LandscapePlayerLayoutKey = booleanPreferencesKey(" landscapePlayerStacked" )
37+ val CarExpressiveAutoHideTitleKey = booleanPreferencesKey(" carExpressiveAutoHideTitle" )
38+ val CarExpressiveTitleHideDelayKey = intPreferencesKey(" carExpressiveTitleHideDelaySeconds" )
3639val HidePlayerThumbnailKey = booleanPreferencesKey(" hidePlayerThumbnail" )
3740val HushCanvasKey = booleanPreferencesKey(" archiveTuneCanvas" )
3841val ThumbnailCornerRadiusKey = floatPreferencesKey(" thumbnailCornerRadius" )
@@ -246,6 +249,13 @@ enum class LastFmProvider {
246249
247250val AudioQualityKey = stringPreferencesKey(" audioQuality" )
248251
252+ enum class PrimaryAudioScraper {
253+ YOUTUBE ,
254+ JIOSAAVN ,
255+ }
256+
257+ val PrimaryAudioScraperKey = stringPreferencesKey(" primaryAudioScraper" )
258+
249259val NetworkMeteredKey = booleanPreferencesKey(" networkMetered" )
250260val LowDataModeKey = NetworkMeteredKey
251261
@@ -298,6 +308,7 @@ val AudioOffload = booleanPreferencesKey("audioOffload")
298308val CrossfadeEnabledKey = booleanPreferencesKey(" crossfadeEnabled" )
299309val CrossfadeDurationKey = floatPreferencesKey(" crossfadeDuration" )
300310val CrossfadeGaplessKey = booleanPreferencesKey(" crossfadeGapless" )
311+ val PrefetchCountKey = intPreferencesKey(" prefetchCount" )
301312val AutoLoadMoreKey = booleanPreferencesKey(" autoLoadMore" )
302313val AutoDownloadOnLikeKey = booleanPreferencesKey(" autoDownloadOnLike" )
303314val AutoSkipNextOnErrorKey = booleanPreferencesKey(" autoSkipNextOnError" )
@@ -313,11 +324,12 @@ val PlaylistTagsFilterKey = stringPreferencesKey("playlistTagsFilter")
313324val ShowHomeCategoryChipsKey = booleanPreferencesKey(" showHomeCategoryChips" )
314325val ShowTagsInLibraryKey = booleanPreferencesKey(" showTagsInLibrary" )
315326
316- val VisualizerEnabledKey = booleanPreferencesKey(" visualizerEnabled" )
317- val VisualizerStyleKey = stringPreferencesKey(" visualizerStyle" )
318- val VisualizerColorThemeKey = stringPreferencesKey(" visualizerColorTheme" )
319- val VisualizerMiniPlayerKey = booleanPreferencesKey(" visualizerMiniPlayer" )
320- val VisualizerOpacityKey = floatPreferencesKey(" visualizerOpacity" )
327+ val PulseMatrixEnabledKey = booleanPreferencesKey(" pulseMatrixEnabled" )
328+ val PulseMatrixThemeKey = stringPreferencesKey(" pulseMatrixTheme" )
329+ val PulseMatrixMiniPlayerKey = booleanPreferencesKey(" pulseMatrixMiniPlayer" )
330+ val PulseMatrixIntensityKey = stringPreferencesKey(" pulseMatrixIntensity" )
331+ val PulseMatrixPeakHoldKey = booleanPreferencesKey(" pulseMatrixPeakHold" )
332+
321333val EqualizerEnabledKey = booleanPreferencesKey(" equalizerEnabled" )
322334val EqualizerBandLevelsMbKey = stringPreferencesKey(" equalizerBandLevelsMb" )
323335val EqualizerOutputGainEnabledKey = booleanPreferencesKey(" equalizerOutputGainEnabled" )
@@ -629,7 +641,7 @@ enum class PlayerDesignStyle {
629641
630642 /* * Legacy/rationalized styles hidden from settings; existing users are migrated to [DEFAULT]. */
631643 val isDeprecated: Boolean
632- get() = this == V1 || this == V3 || this == V5 || this == V7 || this == V8 || this == V9
644+ get() = this != DEFAULT
633645
634646 /* * Only deprecated styles normalize to [DEFAULT]; active styles keep their identity. */
635647 fun normalized (): PlayerDesignStyle =
@@ -641,7 +653,7 @@ enum class PlayerDesignStyle {
641653
642654 /* * Styles shown in Settings → Player design style. */
643655 val selectableValues: List <PlayerDesignStyle > =
644- listOf (V2 , V4 , V6 )
656+ listOf (V6 )
645657 }
646658}
647659
@@ -708,7 +720,6 @@ val HistoryDuration = intPreferencesKey("historyDuration")
708720
709721val PlayerButtonsStyleKey = stringPreferencesKey(" player_buttons_style" )
710722val PlayerBackgroundStyleKey = stringPreferencesKey(" playerBackgroundStyle" )
711- val ShowLyricsKey = booleanPreferencesKey(" showLyrics" )
712723val LyricsTextPositionKey = stringPreferencesKey(" lyricsTextPosition" )
713724val LyricsClickKey = booleanPreferencesKey(" lyricsClick" )
714725val LyricsScrollKey = booleanPreferencesKey(" lyricsScrollKey" )
0 commit comments