{#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}
Repair Offline Library Fix offline markers lost during library scans
Clear Offline Library
Manage Offline Cache Open the cache folder in your file manager

{$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.

Updates

Check for new releases on launch
Check for updates now
Show what's new on new version launch
Show changelog for current version {#if updatesCurrentVersion} Current version: v{updatesCurrentVersion} {/if}
{#if isUpdateResultOpen} {/if} {#if settingsWhatsNewRelease} {/if}

{$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 {#if musicBrainzCacheStats} {musicBrainzCacheStats.artists} artists, {musicBrainzCacheStats.relations} relations, {musicBrainzCacheStats.recordings} recordings {:else} - {/if}
Artist Vectors (Suggestions) {#if vectorStoreStats} {vectorStoreStats.artist_count} artists, {vectorStoreStats.entry_count} relations {:else} - {/if}
Artwork Thumbnails {#if artworkCacheStats} {@const thumbCount = artworkCacheStats.thumbnail_file_count ?? 0} {@const thumbBytes = artworkCacheStats.thumbnails_cache_bytes ?? 0} {@const legacyCount = artworkCacheStats.artwork_file_count ?? 0} {@const legacyBytes = artworkCacheStats.artwork_cache_bytes ?? 0} {#if thumbCount > 0 || legacyCount > 0} {#if thumbCount > 0}{thumbCount} thumbnails ({formatBytes(thumbBytes)}){/if}{#if thumbCount > 0 && legacyCount > 0}, {/if}{#if legacyCount > 0}{legacyCount} legacy files ({formatBytes(legacyBytes)}){/if} {:else} No cached artwork {/if} {:else} - {/if}
Clear All Caches Clears all cached data above
{#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 for each folder you want to add:

flatpak override --user --filesystem=/path/to/your/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

# Custom folder (edit as needed)
flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz

Note: This setting is persistent and survives reboots and updates.
Tip: You can repeat the command for as many folders as you need.

Chromecast & DLNA Device Discovery

To detect Chromecast and DLNA devices on your network, you must grant network sharing permissions to the app:

flatpak override --user --share=network com.blitzfc.qbz

Note: Without this, device discovery will not work.
You only need to do this once.

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