Immediate and Accumulated scrobbling cannot be enabled at the same
time, but both can be disabled. When one is turned on, the other
is automatically turned off.
Show favorite and download indicators for unavailable Qobuz tracks
to maintain column alignment. The elements are already non-interactive
due to pointer-events: none on the wrapper.
- Remove wifi-off icon from unavailable tracks in playlist detail view,
keeping only the disabled styling for a cleaner look
- Rename "Available Offline" filter to "Fully Available Offline" to
clarify it shows only playlists where all tracks are available
- Update filter logic to only show all_local playlists in the fully
available filter, not partially available ones
- Fix visible filter in offline mode to respect showPartialPlaylists
setting by using isPlaylistAvailableOffline function
The hasLocalContent field was never being calculated - it was just
read from settings (always undefined). Now calculate it dynamically
from actual data:
- localTrackCounts.get(playlistId) - number of local tracks
- playlist.tracks_count - number of Qobuz tracks
Status calculation:
- 'no': localCount === 0 (not available offline)
- 'all_local': localCount > 0 && qobuzCount === 0 (fully available)
- 'some_local': localCount > 0 && qobuzCount > 0 (partially available)
This fixes Show partial playlists toggle and Partially available
filter in playlist manager.
L1 (Memory): 300MB for ~3-4 Hi-Res tracks, instant access
L2 (Disk): 500MB playback cache at ~/.cache/qbz/playback/
Flow:
- When track evicted from memory, saved to disk cache
- When loading: check memory → disk → download cache → network
- Tracks promoted back to memory when accessed from disk
This reduces re-downloads when navigating back to recently played
tracks in mixed playlists.
- Stop playback immediately when starting a Qobuz track to prevent
previous track from continuing during download
- Show buffering toast while downloading Qobuz audio
- Skip buffering UI for local tracks since they load instantly
- Add is_local field to QueueTrack for prefetch optimization
- Update prefetch to skip local tracks (no network needed)
- Update all queue track builders to include is_local flag
Remove reactive effect that was causing infinite re-renders due to
inline callback function recreation. Replace with imperative calls
to notifyParentOfCounts() after data loading completes.
The effect was reading onPlaylistCountUpdate which got recreated
on every parent re-render, triggering the effect again in a loop.
Wire onPlaylistCountUpdate from PlaylistDetailView to Sidebar's
updatePlaylistCounts method in +page.svelte. This ensures the
sidebar displays accurate track counts from the database instead
of calculated values that could drift out of sync.
Calculate totalCount as max of (qobuz+local count) or (highest local
position + 1) to ensure all local tracks are included regardless of
their position value
- Add PlaylistLocalTrack struct with playlist_position field
- Add playlist_get_local_tracks_with_position command
- Update PlaylistDetailView to merge tracks by position instead of
appending local tracks at the end
- Update PlaylistModal to calculate correct position when adding local
tracks (total count = qobuz + existing local)
- Local tracks now appear in the order they were added, interleaved
with Qobuz tracks
- Use portal pattern to render menu in body (escapes stacking context)
- Increase z-index to 99999/100000 for menu/submenu
- Update click outside handler to work with portal
- Menu now properly appears above all track rows
- Update handlePlayAll to include both Qobuz and local tracks
- Update handlePlayAllNext and handlePlayAllLater similarly
- Add onSetLocalQueue prop to mark local tracks in queue store
- Connect prop to handleSetLocalQueue in +page.svelte
- Add 60-second timeout to login initialization in LoginView
- Show retry/offline options when login times out
- Move loadFavorites() to handleLoginSuccess to prevent API calls
before authentication is complete
- Prevents errors when auto-login is slow or stuck
- Update onPlaylistUpdated callback to also refresh local track counts
- Change all Song/Songs references to Track/Tracks in Sidebar tooltips
- Ensure tooltip cache is properly invalidated when tracks are modified
- Add playlist_get_all_local_track_counts command to get local track
counts for all playlists efficiently
- PlaylistDetailView: show combined track count and duration in header,
style local count with muted color, remove redundant count below
- Sidebar: load and display local track counts in tooltips
- PlaylistModal: show combined counts when selecting playlist to add to
- PlaylistManagerView: show combined counts in both grid and list views
- TrackRow: move local indicator to download column position, add
placeholder for favorite column to maintain alignment, update tooltip
- Remove local tracks notice banner (info now in tooltip)
cc
- Move local track indicator from quality column to favorite button position
for consistent row alignment with Qobuz tracks
- Remove explicit delete button from playlist track rows (was easy to
accidentally click)
- Add "Remove from playlist" option to TrackMenu for all tracks (local and
Qobuz)
- Qobuz track removal uses playlist_track_id from API response
- Clean up unused CSS and imports from PlaylistDetailView
cc
- PlaylistModal now uses playlist_add_local_track command for local tracks
instead of the Qobuz-only add_tracks_to_playlist command
- Added isLocalTracks prop to PlaylistModal and wired it through uiStore
- Updated LocalLibraryView to pass isLocal=true when adding tracks to playlists
- Added HardDrive icon indicator next to quality badge for local tracks in TrackRow
cc
- clear_all_tracks now only deletes local library tracks
- Qobuz downloads (source = 'qobuz_download') are preserved
- Local library management is now completely separate from Qobuz downloads
- Prevent double execution with clearingLibrary flag
- Stop event propagation to prevent multiple triggers
- Convert to non-async function with explicit promise chain
- Disable button during operation
- Show "Clearing..." state while in progress
- Increase width to 720px
- Reduce folder name font size to 13px
- Fix button labels (use actions.cancel/save instead of common)
- Add 'saving' i18n key (en/es)
- Wrap long hint texts in <small> tags
- Make modal larger (560px width, more padding)
- Add specific warnings when user override differs from detection:
- Warning when marked as network but not detected
- Danger when marked as local but detected as network
- Detect network status when modal opens for comparison
- Add i18n strings for override warnings (en/es)
- Fix offline settings database migrations to run individually
- Add network detection refresh when loading folder list
- Add network detection during folder scan
- Show folder alias with path tooltip in folder list
- Add folder path change capability in FolderSettingsModal
- Add network content visibility toggle in offline settings
- Add i18n strings for new features (en/es)
- Disable import playlists button when offline (shows disabled state)
- Add Cast, immediate scrobbling, and accumulated scrobbling toggles
- These settings only appear when manual offline mode is enabled
- Add time limit note for accumulated scrobbling (Last.fm 2 week limit)
- Persist new settings in SQLite with proper migrations
- Add i18n strings for all new settings (en/es)
- Add batch check command for track local status in Rust
- Show unavailable tracks with grayed-out visual state in PlaylistDetailView
- Disable interactions for unavailable tracks (click, menu, play)
- Add WifiOff indicator for unavailable tracks
- Update QueuePanel to show unavailable track styling
- Implement auto-skip for unavailable tracks during playback
- Add offline mode sync to queue store
- Add offline-specific filter states to PlaylistManager:
- Available Offline
- Partially Available
- Not Available Offline (view-only)
- Disable edit/drag for unavailable playlists in PlaylistManager
- Add i18n strings for offline states (en/es)
Add offline mode filtering to sidebar playlist list to match behavior
in PlaylistManagerView. Playlists without local content are hidden
when in offline mode, respecting the showPartialPlaylists setting.
The section refs were not reactive, so the derived array captured undefined
values at definition time. Changed to resolve refs at call time using a
getSectionEl() function instead of capturing them in a derived array.
The login state check was causing race conditions on app startup because
offline status was being checked before auto_login completed. Since the
frontend already handles showing LoginView when not logged in, the
NotLoggedIn check in offline detection was redundant and problematic.
Now offline detection only checks:
1. Manual offline mode (from settings)
2. Network connectivity (via HTTP HEAD to qobuz.com)
Refresh offline status after successful login to prevent false offline
detection. Previously, the offline status was checked during bootstrap
before auto_login completed, causing 'NotLoggedIn' reason even though
the user would be logged in moments later.
- Add navigation bar below Account section with links to all sections
- Navigation becomes fixed at top when scrolling (sticky position)
- Active section highlighted with accent underline
- Hover state shows lighter underline for contrast
- Scroll tracking updates active section automatically
- Small text labels to fit all sections horizontally
- Change OfflinePlaceholder icon to use offline.svg instead of Power icon
- Add flex-shrink protection to Toggle component to prevent collapsing
- Add network verification when disabling offline mode:
- Check network connectivity before switching to online
- Show semi-transparent overlay during check
- Revert to offline and show toast if no internet available
- Add check_network Tauri command to verify connectivity
- Add i18n strings for noNetworkToast and checkingNetwork (en/es)
Toast notifications:
- "Offline mode activated" when going offline
- "Back online" when connectivity restored
Accessibility (ARIA):
- role="status" and aria-label on offline indicator in NowPlayingBar
- role="alert" and aria-live="polite" on OfflinePlaceholder
- role="alert" on PlaylistImportModal offline warning
- aria-label on DownloadButton
- aria-hidden="true" on decorative icons
Research findings:
- Last.fm API supports batch scrobbling (up to 50 tracks)
- Timestamps can be backdated up to 14 days
Implementation:
- Add scrobble_queue table to offline database
- Add queue_scrobble, get_queued_scrobbles, mark_scrobbles_sent commands
- Queue scrobbles when offline instead of skipping
- Flush queue automatically when transitioning to online
- Skip scrobbles older than 14 days (Last.fm limit)
- Cleanup sent scrobbles after 7 days
- Add offline indicator icon in right section when offline
- Disable lyrics button with tooltip when offline
- Skip Last.fm scrobbling when in offline mode
- Use offline-small.svg for compact indicator
- DownloadButton: show CloudOff icon and disable when offline
- LyricsStore: skip fetching and show "unavailable offline" message
- LocalLibraryView: skip artist image fetching from Qobuz/Discogs
- PlaylistImportModal: disable import with warning when offline
- Add "Start in offline mode" link below login form
- Enable offline mode without authentication
- Navigate directly to local library when starting offline
- Add i18n strings for offline start link (en/es)
Frontend:
- Filter playlists by local content when offline
- Respect showPartialPlaylists setting for filtering
- Add local content badges (green=all, yellow=partial) in grid/list views
- Subscribe to offline state in PlaylistManagerView
- Add pending playlist functions to offlineStore
Assets:
- Add offline-small.svg icon for compact indicators
cc
- Add Offline Mode section to SettingsView
- Display current offline status with reason
- Toggle for manual offline mode (Enable Offline Mode)
- Toggle for showing partial playlists in offline mode
- Subscribe to offlineStore for real-time status updates
- Add status indicator styling (green=online, yellow=offline)
cc
- Create OfflinePlaceholder component with reason-specific messaging
- Add i18n strings for offline mode (en/es)
- Subscribe to offlineStore in +page.svelte
- Show OfflinePlaceholder for home, search, favorites views when offline
- Provide quick navigation to local library from placeholder
cc
- Create offlineStore.ts with status and settings management
- Add 30-second polling for offline status checks
- Listen for backend offline-status-changed events
- Integrate with app bootstrap for initialization and cleanup
- Export getters: isOffline, getOfflineReason, getStatus, getSettings
- Export actions: setManualOffline, setShowPartialPlaylists, refreshStatus
cc
- Add LocalContentStatus enum (unknown, no, some_local, all_local)
- Add has_local_content column to playlist_settings with migration
- Implement local track matching by Qobuz ID and by metadata (title+artist+album)
- Add commands: playlist_analyze_local_content, playlist_get_local_content_status,
playlist_track_is_local, playlist_get_local_track_id, playlist_get_offline_available
- Add database functions for local content filtering and status updates
cc
- Create offline module with OfflineReason enum and OfflineStatus struct
- Add OfflineSettings for manual mode and partial playlist preferences
- Implement network connectivity check via HEAD request to qobuz.com
- Add SQLite persistence for offline settings
- Register Tauri commands: get_offline_status, get_offline_settings,
set_manual_offline, set_show_partial_playlists
- Add event emission for offline status changes
cc
- Add navigation to search results with smooth scrolling
- Show result counter (X/Y) with prev/next chevron buttons
- Support keyboard navigation (Enter, Shift+Enter, Escape)
- Add searchId prop to AlbumCard for DOM targeting
- Style search toggle button without background
- Remove focus outline from search input
Page search:
- Add search button in sticky jump-nav bar
- Slide-in animation from right when opened
- Filter albums, EPs, live, compilations, tributes, others, playlists
- Show result count or "No results" message
- Press Escape to close
Bio improvements:
- Reduce truncation to 530 chars (was 800, now 2/3)
- Only show "Read more" if text actually needs truncation
Live detection - additional languages:
- German: Konzert, liveopname
- Japanese: ライブ (raibu)
- Korean: 라이브 (laibeu), 콘서트 (konseuteu)
- Dutch: liveopname
Live albums:
- Add "On Stage" pattern (Market Square Heroes On Stage Vol.1/2)
- Add multilingual support: en vivo, en directo (ES), ao vivo (PT),
dal vivo (IT), en direct (FR)
Unofficial releases:
- Fix interview detection to include plural "interviews"
- Add "Remaining Memories: The Interviews" pattern
Major improvements to album categorization logic:
Detection improvements:
- Broadcasts: detect plural forms, "Radio Broadcasts", "The Beast Radio"
- Live albums: detect "Alive", city+year patterns (Seattle 1989, Tokyo 1986)
- Podcasts: detect "Report Episode X", single-track 20+ min releases
- Singles: 1-4 tracks (classic 45rpm), explicit markers in title
New Tributes section:
- Albums by different artists now go to "Tributes & Covers"
- Separates tribute/cover albums from legitimate artist content
- Keeps Others clean for compilations, B-sides, unofficial releases
Categorization priority:
1. Different artist -> Tributes
2. Broadcasts/bootlegs/podcasts -> Others
3. Compilations (greatest hits, B-sides) -> Others
4. Live albums -> Live
5. Studio albums (7+ tracks, 25+ min, deluxe) -> Discography
6. EPs/Singles (1-4 tracks, <15 min) -> EPs & Singles
- Add artist ID comparison to filter albums from different artists
- Create separate detection for unofficial releases (broadcasts, bootlegs)
- Create separate detection for compilations (greatest hits, tributes)
- Make EP/Single detection more conservative (1-3 tracks or <15min)
- Add studio album detection to keep deluxe/remaster editions in Discography
- Prioritize categorization: different artist > unofficial > compilation > live > studio > EP
- Fix broadcasts incorrectly going to Live Albums (now go to Others)
- Fix deluxe box sets incorrectly going to Others
- Fix full-length albums with 8 tracks being classified as EPs
- Live albums: detect broadcasts, tour dates, concert recordings
- Others: include FM broadcasts, bootlegs, compilations, tributes
- Others: detect soundtracks, various artists releases
- Filters: cover albums, demos, rehearsals, radio sessions
- Pattern matching: more comprehensive regex for edge cases
Fixes issue with Metallica FM Broadcasts and live albums not
being properly categorized.
cp
- Most Popular: reduced to 176px width (4px less)
- Artists section: receives extra space
- Carousel buttons: cursor default when disabled (no not-allowed)
- Tab navigation: bottom border indicator (like artist view)
- Tab active state: accent color border, no background change
- Tab count badges: bg-tertiary background
cp
- Most popular section-header: explicit flex properties
- Most popular h3: margin 0 instead of margin-bottom 0
- Ensures vertical alignment matches artists section
cp
- Reduced most popular container width (90px min, was 140px)
- Artists section gets more space (4fr vs 3fr)
- Most popular h3: margin-bottom 0, section-header has 16px
- View more border: solid instead of dashed
- View more text: centered, bold, 14px (matches album title size)
cp
- Most Popular: added section-header wrapper for alignment
- Most Popular card: centered with wrapper div
- View more cards: redesigned as cover art (160x160) with description
- View more text: shows remaining count (e.g. '20 more albums to discover')
- Removed background/border from card container, moved to cover button
cp
- Carousel buttons: transparent background, only hover has bg
- Most Popular card: centered in container
- View more cards: injected into carousel as items (not appended)
- Albums/Artists with view more merged into carousel data
- Pagination includes view more card in calculations
cp
- Albums: 30 results with view more card if total > 30
- Artists: 12 results with carousel navigation
- Artists carousel: same pagination logic as albums
- View more cards: 160x220px dashed border, navigate to tab
- Artists gap: reduced to 16px (same as albums)
- Separate page tracking for albums and artists
cp
- Carousel: bind container, use visibleAlbums slice for pagination
- Artist cards: fixed 160x220px with circular 120x120 images
- Artist names: 2-line clamp with ellipsis for long names
- Grid spacing: 24px gap between artist cards
- Prevent image deformation with min-height and flex-shrink
cp
- Albums carousel: display flex (one row only)
- Backend: 20 albums (was 16)
- Artist cards: all 160x220px (most popular and grid)
- Carousel buttons work with multiple pages
cp
- Crown: simple gold color (no complex animation)
- Albums carousel: dynamic page-based navigation
- Calculate albums per page based on container width
- Navigation buttons now paginate instead of scroll
- Reset to page 0 on new search results
- Remove carousel overflow/scrollbar
cp
- Artist cards: fixed spacing with 16px gap, 120x120 circular images
- Layout: Albums and Tracks now in separate full-width rows
- Carousel: Changed to single row (was 2 rows)
- Crown icon: Shimmer gradient effect (no glow/drop-shadow)
- Backend already at 16 albums
cp
- Add dynamic carousel column calculation based on container width
- Carousel calculates visible columns on mount and resize
- Scroll amount adjusts to show full pages (no partial cards)
- Fix padding-right to restore margin from sidebar (24px)
- Remove glow from Most Popular card
- Add shimmering animation to Crown icon (gold drop-shadow)
- Homologate all artist cards to same size (160x220px)
- Add play button overlay on track artwork (hover)
- Reduce album gap from 20px to 16px
- Fix overflow-x only on carousel wrapper (not entire page)
- Maintain 50/50 layout for albums/tracks sections
cp
- Add Crown icon to Most Popular header
- Homologate Most Popular card size with Artists section
- Add subtle glow effect to Most Popular card (box-shadow)
- Implement albums carousel with navigation buttons (< >)
- Carousel displays 2 rows of albums, scrollable horizontally
- Albums grid auto-adjusts columns based on viewport width
- Add carousel control buttons with hover effects
- Carousel buttons disable when at boundaries (canScrollLeft/canScrollRight)
- Remove overflow scrolling, replace with button navigation
- Align albums section height with tracks section (6 items baseline)
- Responsive carousel adjusts card size: 180px -> 160px -> 140px
cp
- Fix Most Popular card height to match Artists section cards
- Add scrollable overflow to Artists grid for small windows
- Move Albums and Tracks to same row (50/50 split)
- Replace carousel with responsive grid for Albums section
- Grid auto-adjusts album count based on screen width
- Reduce tracks display to 6 items for better balance
- Add hover underline effect to View all links
- Improve responsive breakpoints for mobile/tablet
- Remove large artist card styles (unified sizing)
- Add custom scrollbar to Artists grid
cp
- Add search_all command to Rust backend (parallel search execution)
- Create SearchAllResults type for unified search results
- Add 'all' tab as new default in search view
- Implement unified results layout:
- Most Popular section (top artist or album)
- Artists section (up to 5 artist cards)
- Albums carousel (horizontal scroll, 10 albums)
- Tracks section (top 8 tracks)
- Add View all links to navigate to individual tabs
- Update search state store to include allResults
- Maintain existing tab functionality (albums, tracks, artists)
- Add responsive grid layout for unified view
cp
- Quality badge in AlbumCard: inverted colors for better visibility
- Quality badge in NowPlayingBar: added Light theme specific styles
- Play button in TrackRow: changed color for better contrast
- Fixed Recently Played section badge height to prevent border clipping
cp
- Playlist artwork now copied to artwork cache directory
- Artist custom images now copied to artwork cache directory
- Prevents issues when source files are moved or deleted
- Uses MD5 hash for artist filenames to avoid special characters
cp
- Quality badge now has dark background with white text in Light theme
- Fixed parameter name in artist image upload (customImagePath)
- Improved visibility on both AlbumCard and QualityBadge components
cp
- Fix Dropdown selected option contrast in Light and Warm themes
- Improve QualityBadge border contrast in Light theme (AlbumCard and NowPlayingBar)
- Add custom artist image upload button in LocalLibrary (visible only when settings panel is open)
- Position upload button at top-right of artist card, consistent with other edit buttons
cp
- Queue button in NowPlayingBar now acts as toggle (open/close)
- Queue sidebar uses theme-aware background instead of glassmorphic effect
- Dropdown hover and selected states now use CSS variables for theme support
- Fixes contrast issues in Light and Warm themes
cp
Artist biographies were being cached per locale but not refreshed
when user changed language settings. Now automatically clears artist
cache when language is changed to force refetch in new language.
cp
- Add loadCachedArtistImages() to load from database
- Add fetchMissingArtistImages() with Qobuz + Discogs fallback
- Add discogs_search_artist command for artist lookups
- Artist images now persist between sessions
- Discogs used as fallback when Qobuz has no image
cp
- Modify cached_artists table to include locale in primary key
- Update get_artist and set_artist methods to consider locale
- Add get_locale() method to QobuzClient for cache key generation
- Ensure artist descriptions respect language settings
cp
- Remove broken AddToPlaylistModal component import
- Use existing PlaylistModal infrastructure from parent component
- Pass onTrackAddToPlaylist callback from +page.svelte to LocalLibraryView
- Follow existing pattern used in AlbumDetailView and other views
cp
- Add locale field to QobuzClient for API language preference
- Pass lang parameter to Qobuz artist detail endpoints
- Create set_api_locale command to update client locale
- Sync API locale with UI i18n settings automatically
- Render artist biography HTML tags properly using @html
- Fix syntax error in FavoritesView (missing comma)
cp
Added maximum_bit_depth and maximum_sampling_rate fields to FavoriteAlbum interface.
Implemented getQualityLabel function to display proper quality info (e.g., 24bit/192kHz) instead of generic Hi-Res label.
Applied to both album and track views in Favorites.
cp
- Increase initial artist albums fetch from 500 to 1000
- Increase load more albums batch from 50 to 200
- Increase top tracks display from 5 to 20
- Prefer full biography content over summary
- Increase bio truncate threshold from 500 to 800 characters
cp
- Move item limits inline with section toggles in home settings modal
- Remove separate limits section for cleaner, more compact layout
- Add add-to-playlist functionality to now playing bar Plus button
- Wire up AddToPlaylistModal to current playing track
cp
- Increased artist album limit from 100 to 500
- Added Others category for compilations/greatest hits
- Added configurable Home section limits in settings
- Added grouping toggle for LocalLibrary albums and tracks
cp
- Add albumGroupingEnabled and trackGroupingEnabled states
- Add Off option to grouping dropdown menus
- Conditionally render group headers and alpha index based on grouping state
- Match UX behavior from Favorites view
cp
- Increase artist detail album fetch from 100 to 500
- Increase bio truncation from 300 to 500 chars
- Add Others category for greatest hits/anthologies
- Add configurable limits for Home sections
- Update HomeSettingsModal with limits grid UI
cp
Add downloadStateVersion prop to AlbumCard component to make download
status reactive in all grid views. This fixes the issue where the
download menu submenu would not appear in Home, Search, and Artist
Detail views even when albums were fully downloaded.
cp
- Force Map reactivity by re-assigning after .set()
- Add missing downloadStateVersion effect in SearchView
- Ensures download menu updates across all grid views
cp
Load download status for all albums when they are first loaded
in grid views (Home, Search, Artist Detail, Favorites) so the
'Download Album' menu shows correct state immediately.
cp