{#if isLoadingDevices}

Loading audio devices...

Parsing hardware information

{/if}
{#if onBack} {/if}

{$t('settings.title')}

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

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

{$t('settings.audio.streamingQuality')}
{$t('settings.audio.preferHighest')}
Audio Backend Choose audio system: Auto (recommended), PipeWire (modern), ALSA Direct (bit-perfect, exclusive), or PulseAudio (legacy).
{$t('settings.audio.outputDevice')} Select your preferred audio output device. Devices shown are from the selected backend.
{#if isLoadingDevices} Loading devices... {:else} {/if}
{#if showAlsaPluginSelector}
ALSA Plugin hw: Bit-perfect, exclusive. plughw: Auto-convert. pcm: Most compatible.
{/if} {#if showAlsaHardwareVolume}
Enable Hardware Volume Control Experimental: Controls DAC volume via ALSA mixer. Some DACs don't support this - disable for maximum compatibility. If it fails, playback continues normally.
{/if}
{$t('settings.audio.exclusiveMode')} {exclusiveModeTooltipOverride ?? $t('settings.audio.exclusiveModeDesc')}
{$t('settings.audio.dacPassthrough')} {dacPassthroughTooltipOverride ?? $t('settings.audio.dacPassthroughDesc')}
{#if isFlatpak && selectedBackend === 'PipeWire' && dacPassthrough}
⚠️
Flatpak Limitation: PipeWire cannot guarantee bit-perfect playback in sandboxed environments due to daemon access restrictions.
Recommended: Switch to ALSA Direct backend for true bit-perfect audio.
{/if}
{$t('settings.audio.currentSampleRate')} {#if hardwareStatus?.is_active && hardwareStatus.hardware_sample_rate} {(hardwareStatus.hardware_sample_rate / 1000).toFixed(1)} kHz {#if hardwareStatus.hardware_format} ({hardwareStatus.hardware_format}) {/if} {:else} {$t('settings.audio.noActivePlayback')} {/if}

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

{$t('settings.playback.autoplayBehavior')} {$t('settings.playback.autoplayBehaviorDesc')}
handleAutoplayModeChange(enabled ? 'continue' : 'track_only')} />
{$t('settings.playback.showContextIcon')} {$t('settings.playback.showContextIconTooltip')}
{$t('settings.playback.gapless')} {#if gaplessTooltipOverride} {gaplessTooltipOverride} {/if}
{$t('settings.playback.crossfade')}
{$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')}
{#if offlineSettings.manualOfflineMode}
{$t('offline.allowCast')} {$t('offline.allowCastDesc')}
{$t('offline.allowImmediateScrobbling')} {$t('offline.allowImmediateScrobblingDesc')}
{$t('offline.allowAccumulatedScrobbling')} {$t('offline.allowAccumulatedScrobblingDesc')} {$t('offline.scrobbleTimeLimit')}
{$t('offline.showNetworkFolders')} {$t('offline.showNetworkFoldersDesc')}
{/if}

{$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 isFlatpak}

Flatpak Sandbox

QBZ is running inside a Flatpak sandbox. For offline libraries on NAS, network mounts, or external disks, direct filesystem access is required.

Grant Filesystem Access

Use Flatseal (GUI) or run this command:

flatpak override --user --filesystem=/path/to/music com.blitzfc.qbz

Examples

# CIFS / Samba mount
flatpak override --user --filesystem=/mnt/nas com.blitzfc.qbz

# SSHFS mount
flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz

Note: This setting is persistent and survives reboots and updates.

{/if}
{#if isCheckingNetwork}
{/if}