{#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}
Stream Uncached Tracks Start playback faster when track is not in cache. Seeking may be limited during initial buffering.
{#if streamFirstTrack}
Initial Buffer Size Seconds to buffer before starting playback ({streamBufferSeconds}s)
handleStreamBufferSecondsChange(parseInt(e.currentTarget.value))} class="buffer-slider" />
{/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')}
{#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); }} />
{$t('settings.appearance.hideTitleBar')} {$t('settings.appearance.hideTitleBarDesc')}
setHideTitleBar(v)} />

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

{$t('settings.appearance.tray.enableTray')} {$t('settings.appearance.tray.enableTrayDesc')}
handleEnableTrayChange(v)} />
{$t('settings.appearance.tray.minimizeToTray')} {$t('settings.appearance.tray.minimizeToTrayDesc')}
handleMinimizeToTrayChange(v)} disabled={!enableTray} />
{$t('settings.appearance.tray.closeToTray')} {$t('settings.appearance.tray.closeToTrayDesc')}
handleCloseToTrayChange(v)} disabled={!enableTray} />

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

{$t('settings.offlineLibrary.disclaimer')}

{$t('settings.offlineLibrary.cachedTracks')} {#if downloadStats} {downloadStats.readyTracks} tracks ({formatBytes(downloadStats.totalSizeBytes)}) {:else} Loading... {/if}
Show in Local Library Display offline Qobuz™ tracks in your Local Library
Repair Offline Library Fix offline markers lost during library scans
Clear Offline Library

{$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} {#if listenbrainzConnected}
ListenBrainz {$t('settings.integrations.connectedAs', { values: { username: listenbrainzUsername }})}
Scrobbling
{:else}
ListenBrainz
{#if showListenBrainzConfig}

Get your personal token from listenbrainz.org/settings

{/if} {/if}
MusicBrainz Enable artist relationships and enhanced metadata from MusicBrainz.

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

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

{$t('settings.storage.clearCache')} {#if cacheStats} {$t('settings.storage.queueCacheStats', { values: { tracks: cacheStats.cached_tracks, used: formatBytes(cacheStats.current_size_bytes), max: formatBytes(cacheStats.max_size_bytes) } })} {:else} {$t('actions.loading')} {/if}
{$t('settings.lyrics.clearLyrics')} {#if lyricsCacheStats} {$t('settings.lyrics.cacheStats', { values: { entries: lyricsCacheStats.entries, size: formatBytes(lyricsCacheStats.sizeBytes) } })} {:else} - {/if}
MusicBrainz Cache Artist relationships, metadata enrichment
{#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}