{#if onBack} {/if}

{$t('settings.title')}

{$t('settings.account.title')}

{$t('settings.audio.title')}

{$t('settings.audio.streamingQuality')}
{$t('settings.audio.preferHighest')}
{$t('settings.audio.outputDevice')}
1 ? audioDeviceOptions : ['System Default']} onchange={handleOutputDeviceChange} wide expandLeft compact />
{$t('settings.audio.exclusiveMode')}
{$t('settings.audio.dacPassthrough')}
{$t('settings.audio.currentSampleRate')} 192 kHz

{$t('settings.playback.title')}

{$t('settings.playback.gapless')} (gaplessPlayback = v)} />
{$t('settings.playback.crossfade')}
(crossfade = v)} max={12} showValue />
{$t('settings.playback.normalizeVolume')} (normalizeVolume = v)} />

{$t('offline.title')}

{$t('offline.status')} {#if offlineStatus.isOffline} {#if offlineStatus.reason === 'no_network'} {$t('offline.noNetwork')} {:else if offlineStatus.reason === 'not_logged_in'} {$t('offline.notLoggedIn')} {:else if offlineStatus.reason === 'manual_override'} {$t('offline.manualMode')} {:else} {$t('offline.offlineReason')} {/if} {:else} {$t('offline.online')} {/if}
{$t('offline.enableManual')} {$t('offline.enableManualDesc')}
{$t('offline.showPartialPlaylists')} {$t('offline.showPartialPlaylistsDesc')}

{$t('settings.appearance.title')}

{$t('settings.appearance.theme')}
{$t('settings.appearance.language')}
{$t('settings.appearance.uiScale')}
{$t('settings.appearance.inAppToasts')} { toastsEnabled = v; setToastsEnabled(v); }} />
{$t('settings.appearance.systemNotifications')} { systemNotificationsEnabled = v; setSystemNotificationsEnabled(v); }} />

Downloads

Download Folder {downloadRoot || 'Default location'}
Downloaded Tracks {#if downloadStats} {downloadStats.readyTracks} tracks ({formatBytes(downloadStats.totalSizeBytes)}) {:else} Loading... {/if}
Show in Local Library Display downloaded Qobuz tracks in your Local Library
Clear Downloads
Open Folder

{$t('settings.library.title')}

{$t('settings.library.fetchArtistImages')} {$t('settings.library.fetchArtistImagesDesc')}
{ fetchQobuzArtistImages = v; localStorage.setItem('qbz-fetch-artist-images', String(v)); }} />

{$t('settings.integrations.title')}

{#if lastfmConnected}
{$t('settings.integrations.lastfm')} {$t('settings.integrations.connectedAs', { values: { username: lastfmUsername }})}
{$t('settings.integrations.scrobbling')}
{:else}
{$t('settings.integrations.lastfm')}
{#if lastfmAuthToken}

A browser window has been opened. Please authorize QBZ on Last.fm, then click the button below.

{:else if showLastfmConfig && !hasEmbeddedCredentials}

QBZ needs Last.fm API credentials to enable scrobbling. Create an API account and enter your credentials below.

{/if} {/if}

{$t('settings.storage.title')}

{$t('settings.storage.cacheSize')} {#if cacheStats} {formatBytes(cacheStats.current_size_bytes)} / {formatBytes(cacheStats.max_size_bytes)} {:else} {$t('actions.loading')} {/if}
{$t('settings.storage.cachedTracks')} {#if cacheStats} {cacheStats.cached_tracks} {$t('album.tracks')} {:else} - {/if}
{$t('settings.storage.clearCache')}

{$t('settings.lyrics.title')}

Provider LRCLIB / lyrics.ovh
{$t('settings.lyrics.clearLyrics')}
{#if apiKeysExpanded}

You don't need to configure anything here unless playlist import or album artwork features stop working. If you experience issues, you can provide your own API credentials to restore functionality.

Spotify {#if embeddedStatus.spotify} Active {:else if spotifyClientId && spotifyClientSecret} Custom {:else} Not configured {/if}

Used for importing Spotify playlists. Create an app to get credentials.

{#if spotifyClientId || spotifyClientSecret} {/if}
Tidal {#if embeddedStatus.tidal} Active {:else if tidalClientId && tidalClientSecret} Custom {:else} Not configured {/if}

Used for importing Tidal playlists. Register to get API credentials.

{#if tidalClientId || tidalClientSecret} {/if}
Discogs {#if embeddedStatus.discogs} Active {:else if discogsConsumerKey && discogsConsumerSecret} Custom {:else} Not configured {/if}

Used for fetching album artwork for local library. Create an application to get credentials.

{#if discogsConsumerKey || discogsConsumerSecret} {/if}
{/if}