feat(library): improve local library UX and audio metrics

- Move Local Library section below Playlists in sidebar (Qobuz is main B.U.)
- Replace text input with native XDG folder picker dialog
- Add bit_depth and sample_rate to LocalAlbum model
- Display rich audio specs in album detail view (format, bit depth, sample rate, channels)
- Show format quality badge on album cards (e.g. "FLAC 24/96")
- Add Hi-Res visual indicator for 24-bit or >48kHz content
This commit is contained in:
vicrodh committed 2026-01-09 14:05:17 -06:00
1 parent b0a64b9caa
commit e8a61a45ce
4 files changed
+103 -29

No files matched your search

+12 -12
View File
@@ -101,18 +101,6 @@
</NavigationItem>
</nav>
<!-- Local Library Section -->
<div class="section">
<div class="section-header">Local Library</div>
<NavigationItem
label="Browse Library"
active={activeView === 'library'}
onclick={() => handleViewChange('library')}
>
{#snippet icon()}<HardDrive size={18} />{/snippet}
</NavigationItem>
</div>
<!-- Playlists Section -->
<div class="section playlists-section">
<div class="playlists-header">
@@ -151,6 +139,18 @@
<div class="no-playlists">No playlists yet</div>
{/if}
</div>
<!-- Local Library Section -->
<div class="section">
<div class="section-header">Local Library</div>
<NavigationItem
label="Browse Library"
active={activeView === 'library'}
onclick={() => handleViewChange('library')}
>
{#snippet icon()}<HardDrive size={18} />{/snippet}
</NavigationItem>
</div>
</div>
<!-- Fixed User Profile at Bottom -->