Commit Graph
100 Commits
Author SHA1 Message Date
vicrodh 728c867c1b chore: update snapcraft source-tag to v1.1.20 2026-03-11 13:12:25 -06:00
vicrodh a4a6722110 chore: bump version to 1.1.20 2026-03-11 12:53:13 -06:00
vicrodh 4423d87fb1 fix: use application.process.binary for PipeWire bit-perfect match rules (#164)
The wizard was generating matches = [ { application.name = "QBZ" } ] but
PipeWire reports application.name = "PipeWire ALSA [qbz]". Using
application.process.binary = "qbz" correctly matches the actual binary name.
2026-03-11 11:58:40 -06:00
vicrodh 8402dd4569 fix: resolve 2 failing tests (performers doctest, credentials roundtrip)
- Fix doctest: use qbz_nix_lib instead of crate in doc example import
- Fix credentials roundtrip: clear stale credentials before test, gracefully
  skip if decryption fails due to environment issues (different key/salt
  from previous runs)

Closes #154
2026-03-11 11:54:53 -06:00
vicrodh 2bbb03b1ee chore: ignore crates/Cargo.lock in gitignore 2026-03-11 10:59:54 -06:00
vicrodh 80bff83c42 fix: proxy all artwork through backend cache for AppImage TLS compat (#163)
When WebKitGTK's GnuTLS can't find system trust store (common in
AppImage on some distros), direct HTTPS image loads fail. Home page
worked because AlbumCard already used cachedSrc which proxies through
the Rust backend (reqwest with its own TLS).

Apply cachedSrc to all remaining artwork displays:
- PlaylistCollage (playlist grid covers)
- NowPlayingBar (current track artwork + hover preview)
- ImmersiveArtwork (fullscreen player)
- QueuePanel (sidebar + immersive queue/history)
- CoverflowPanel, HistoryPanel, FocusMode

Also resolve artwork URL in +page.svelte via getCachedImageUrl before
passing to NowPlayingBar/ImmersivePlayer, so all downstream immersive
panels receive pre-cached asset:// URLs.
2026-03-11 08:13:51 -06:00
vicrodh 0eb0139418 fix: remove sys-lib-libjpeg from mupdf to fix startup on Debian/Fedora (#161, #162)
Ubuntu ships libjpeg8 (libjpeg.so.8) while Debian sid and Fedora ship
libjpeg62-turbo (libjpeg.so.62). Building with sys-lib-libjpeg on Ubuntu
hardcodes a dependency on libjpeg.so.8, breaking startup on other distros.

Let mupdf vendor its own libjpeg (statically linked) instead.
2026-03-11 08:01:25 -06:00
vicrodh c7ab0ba129 fix: track number display for compilations and box sets (#147)
- Add filename-based track number inference as fallback when tags lack track_number
- Detect degenerate track numbering (all tracks same number) and use index fallback
- Flatten single-track-per-disc box sets into sequential numbering
- Replace fragile SELECT * with explicit column list in track queries
2026-03-10 15:08:10 -06:00
vicrodh 66595ca293 fix: use async lock in V2 cache init to prevent blocking_lock panic
init_cache_at was using blocking_lock() but is called from async
activate_session context, causing runtime panic on startup.
2026-03-10 14:43:43 -06:00
vicrodh 168cd6005c refactor: replace remaining legacy model types with V2 crate types
ResolvedMusician, MusicianConfidence, MusicianAppearances,
AlbumAppearance now imported from qbz_integrations::musicbrainz
2026-03-10 14:42:00 -06:00
vicrodh c6c48df7bb fix: migrate all V2 commands from legacy to V2 states and caches
- v2_musicbrainz_set_enabled: persist to V2 MusicBrainz cache (fixes #106)
- v2_listenbrainz_set_enabled: persist to V2 ListenBrainz cache
- v2_listenbrainz_connect/disconnect: remove legacy state dependency
- v2_listenbrainz_queue_listen/flush_queue: use V2 ListenBrainz cache
- v2_musicbrainz_get_cache_stats/clear_cache: use V2 MusicBrainz cache
- v2_remote_metadata_search/get_album: use V2 MusicBrainz client
- v2_musicbrainz_get_artist_relationships: use V2 client + V2 cache
- v2_musicbrainz_get_artist_metadata: use V2 client + V2 cache
- v2_get_discovery_artists: use V2 client
- v2_discover_artists_by_location: use V2 client + V2 cache
- v2_get_playlist_suggestions: use V2 client + V2 cache
- ArtistVectorBuilder: migrated to V2 MusicBrainz types
- session_lifecycle: deactivate_session now tears down V2 caches
- genre_normalization/location_discovery: switched to V2 types
- factory_reset: added V2 state teardown
- Legacy MusicBrainzSharedState only used in factory_reset teardown
2026-03-10 14:39:37 -06:00
vicrodh f473065c21 feat: port full MusicBrainz API to V2 crate + add cache persistence
V2 MusicBrainz client now has all methods from legacy:
- search_recording, get_artist_with_relations, get_artist_tags
- search_artists_by_tag, search_artists_by_tag_and_area
- search_release_by_barcode, search_releases_extended
- get_release_with_tracks, browse_artists_by_area
- search_area, get_area_with_relations, resolve_parent_subdivision

V2 MusicBrainz cache now has:
- Settings persistence (is_enabled/set_enabled)
- All legacy cache tables (relations, metadata, scene, qobuz_validation)
- clear_all, cleanup_expired, get_stats

V2 ListenBrainz cache adds:
- mark_listens_sent (batch), get_queue_count, clear_queue

V2 state wrappers (integrations_v2.rs) now include:
- Cache field on both MusicBrainzV2State and ListenBrainzV2State
- init_cache_at, init_from_cache, teardown methods
- ListenBrainzV2State credentials auto-persist to V2 cache

V2 models include all types from legacy (ArtistRelationships,
ArtistMetadata, LocationDiscoveryResponse, ResolvedMusician, etc.)
2026-03-10 14:14:45 -06:00
vicrodh f660f9b068 fix: reduce spacing between Home sections from 60px to 30px 2026-03-10 13:28:21 -06:00
vicrodh 2b4316655b fix: Search Albums grid overlap from mismatched card/gap dimensions
ALBUM_CARD_WIDTH 180->210 to match AlbumCard size='large' (210px).
ALBUM_GAP_X 14->22 to match CSS gap. ALBUM_CARD_HEIGHT 290->310
to fit 210px artwork + text + quality badge.
2026-03-10 13:26:22 -06:00
vicrodh 911d378be2 fix: add ARIA roles to TitleBarNav interactive divs 2026-03-10 13:08:33 -06:00
vicrodh 93f6ebec28 fix: replace monospace font with app font across UI components
Mono font only kept in Settings > Dev > Logs (LogsModal),
command blocks, and keyboard shortcut keys. All other UI
elements (durations, metadata, badges) now use --font-sans.
2026-03-10 11:37:06 -06:00
vicrodh e1086a247b fix: reduce excessive top padding across all views from 24px to 8px
Homologate top spacing in all view containers and back buttons.
Container padding-top: 24px -> 8px, back-btn margin-top: 24px -> 8px.
2026-03-10 11:33:52 -06:00
vicrodh 99d02c4477 feat: per-item titlebar nav toggles, purchases dropdown, error fix, layout tuning
- Refactor titlebar nav to per-item toggles (Discover, Favorites, Library, Purchases)
- Add Purchases dropdown with Albums/Tracks items
- Fix "Browse Library" label to "Local Library" using $t('library.title')
- Fix Purchases "TypeError: Load failed" to show friendly i18n message
- Increase titlebar height to 44px (+2px padding-top, +2px element height)
- Nav buttons 26px -> 28px, search input 28px -> 30px
- Reduce sidebar top padding from 12px to 6px
- Update height calculations for new titlebar size
2026-03-10 11:17:34 -06:00
vicrodh a288517d03 fix: Discover dropdown navigates to Home tabs instead of separate views
The Discover dropdown items (Home, Editor's Picks, For You) now
correctly navigate to the three tabs of the Home/Discover view
using navigateTo('home', tabId) instead of navigating to unrelated
discover-* view pages.
2026-03-10 10:56:39 -06:00
vicrodh 9c03a85a33 feat: add edge margin to nav buttons and show/hide window controls setting
Nav buttons get 8px padding on the edge side (matching folder spacing).
New opt-out toggle to hide window control buttons (min/max/close) for
window manager users who want the titlebar for nav and search only.
2026-03-10 10:54:50 -06:00
vicrodh 1871b0db1d feat: add navigation buttons (Discover, Favorites, Library) to titlebar
Opt-in setting (off by default) that moves Discover, Favorites, and
Local Library from the sidebar to the custom titlebar. Includes
dropdown menus for Discover and Favorites sub-items. Navigation
button position defaults to opposite of window controls but is
user-configurable. Items are hidden from sidebar when shown in
titlebar.
2026-03-10 10:36:47 -06:00
vicrodh c534ec3390 improve DailyQ/WeeklyQ error when listening history is insufficient
Show a friendly message instead of a generic API error when
the user has no recent listening history to seed suggestions.
Adds insufficientHistory i18n key to all 4 locales.

Closes #158
2026-03-10 10:20:55 -06:00
vicrodh 2249ef8969 fix: detect Chromecast track end by state transition, not idle_reason
When a track finishes on Chromecast, the media session may clear
entries entirely, returning IDLE with idle_reason=null instead of
FINISHED. Detect end-of-track by the PLAYING->IDLE transition
instead, matching the DLNA approach.
2026-03-10 10:08:43 -06:00
vicrodh 8377956cb7 catch GTK init panic and show recovery instructions 2026-03-10 08:51:15 -06:00
vicrodh 2b75c7816b chore: update flake.nix to 1.1.19 and snapcraft source-tag to v1.1.19 2026-03-10 04:17:10 -06:00
vicrodh 808529b57a fix: favorites artists alpha index now scrolls virtualized grid/list correctly 2026-03-10 04:12:00 -06:00
vicrodh ac41832a62 fix: remove unused CSS selectors and button nesting warnings in Home/ForYou tabs 2026-03-10 03:43:20 -06:00
vicrodh 60f738901e fix: add padding and shadow to app icon for Flathub guidelines compliance 2026-03-10 03:34:30 -06:00
vicrodh 863bfc6d82 fix: shorten Flathub summary to <35 chars, update 1.1.19 release notes 2026-03-10 03:28:14 -06:00
vicrodh dd8c994d01 fix: remove deprecated pulseaudio plug from snap, update codename to Limpiando la casa 2026-03-10 03:19:24 -06:00
vicrodh a3bc2cf204 docs: add Scene Discovery and Discovery Tabs to 1.1.19 release notes 2026-03-10 03:03:38 -06:00
vicrodh 71bd97fe83 add flake.nix for NixOS users
Reference Nix flake based on the nixpkgs packaging PR (#498106).
Provides package build and dev shell with all dependencies.
2026-03-10 02:56:03 -06:00
vicrodh f8bbef41aa fix tests for NixOS sandbox compatibility
- credentials: skip encryption/roundtrip tests when config dir is not
  writable (NixOS sandbox has no HOME)
- fft_processor: relax last-bar frequency assertion from 15000 to 10000
  (with 16 bars, max t=15/16 only reaches ~13kHz)

Fixes #154
2026-03-10 02:54:18 -06:00
vicrodh 2ec36934cf fix APT install instructions: add gpg --dearmor for Ubuntu/Mint compat
Fixes #153 - GPG key needs dearmoring on Ubuntu-based distros like
Linux Mint where apt doesn't handle armored keys directly.
2026-03-10 02:47:09 -06:00
vicrodh 819c1ab03e add static assets: compass icon and radio card shadow overlay 2026-03-10 01:50:27 -06:00
vicrodh 00780fd336 Merge branch 'feature/scene-discover' into pre-release 2026-03-10 01:49:51 -06:00
vicrodh e01bffd24b fix sticky header gap by removing top padding from home-view
Match ArtistDetailView pattern: zero top padding on scroll container,
padding-top moved to home-header instead. Sticky header now sits flush
at the top edge with no gap.
2026-03-10 01:49:00 -06:00
vicrodh aac2b9b76d add sticky compact header on scroll with tab navigation and genre filter
Greeting fades out on scroll, replaced by a fixed compact bar with
tab buttons and genre filter pinned to top of scroll area.
2026-03-10 01:39:51 -06:00
vicrodh 1b471675f2 homologate artist card styles in ForYouTab and add Qobuz Radio Station label
Update follow-artist-card and artist-card CSS to match HomeView's Discover
card style (210px, bg-secondary, border, 12px radius, 140px image, hover).
Add "Qobuz Radio Station" subtitle to spotlight radio card.
2026-03-10 01:37:46 -06:00
vicrodh 4a8e85b098 fix: move settings gear before genre filter for consistent positioning 2026-03-10 01:30:33 -06:00
vicrodh ffbe7474ac fix: greeting inline with header, genre filter on all tabs, enlarge filter
- Greeting back inline on the left of the header row
- Genre filter visible on all 3 tabs (shared state)
- Settings gear only on home tab
- Genre filter button enlarged to match tab bar size (13px, 7px 14px)
2026-03-10 01:30:21 -06:00
vicrodh 72700a9ee7 feat: center tab bar, tab navigation history, persist last tab
- Center button group in content area, independent of greeting
- Increase tab button size (padding 7px 16px, font 13px)
- Each tab is an independent history entry (back/forward works)
- Persist last used tab in localStorage across restarts
- Context navigation returns to correct home tab (forYou/editorPicks)
- Rename sidebar Home to Discover in all 4 locales
2026-03-10 01:29:23 -06:00
vicrodh 569e06308e fix: rename sidebar Home to Discover in all locales 2026-03-10 01:20:31 -06:00
vicrodh a97c542e3d fix: top tracks card artist image square 130px with shadow overlay 2026-03-10 01:19:08 -06:00
vicrodh 0e31723f5c fix: update sidebar compass icon to match new compass.svg 2026-03-10 01:18:23 -06:00
vicrodh 21f1b04a6f fix: spotlight card row polish
- Play button in hero now triggers top tracks (not radio)
- Spotlight actions vertically aligned
- TOP TRACKS card: artist image centered (100px circle)
- Playlist image: object-fit contain (shows full rectangular image)
- Radio card: removed "and more" subtitle
- Added nav arrows to spotlight content row
- HorizontalScrollRow items aligned to top
2026-03-10 01:17:17 -06:00
vicrodh b36f393abe feat: replace spotlight track list with card row (Top Tracks, Radio, Playlists, Albums)
Spotlight section now shows a horizontal scroll row with nav arrows:
- TOP TRACKS card: white bg, black text, loads all top tracks to queue
- RADIO card: homologated to Radio Stations style with color extraction
- Playlist cards: from artist's Qobuz playlists (if any)
- Up to 6 album cards from artist releases (albums, live, EPs)

Removes the old track list and standalone radio card layout.
2026-03-10 01:10:47 -06:00
vicrodh 667e6bb8be fix: spotlight buttons use album header action-btn-circle style 2026-03-10 00:58:43 -06:00
vicrodh 21d7bfb589 fix: replace pill-shaped follow button with rounded-corner rect 2026-03-10 00:55:11 -06:00
vicrodh f7e0c617e9 fix: remove monospace font from seekbar timers 2026-03-10 00:50:45 -06:00
vicrodh 4ff814a489 feat: radio card dark gradient, lightest-tone RADIO text, spotlight radio auto-play
- Add dark bottom gradient to radio card visual for RADIO text contrast
- Extract lightest color from album art for RADIO text, with bright white
  fallback for very dark covers (brightness < 60)
- Update handleSpotlightRadio to call startRadioPlayback for auto-play
2026-03-10 00:46:50 -06:00
vicrodh 6ed95304de fix: match Your Mixes card gap to album/radio card spacing (22px) 2026-03-10 00:37:05 -06:00
vicrodh 7d51d1991a feat: match radio card size to AlbumCard, diversify radio seeds
- Radio card now 210x210px (same as AlbumCard large), art 130x130px
- Radio stations now mix 3 recent + 3 favorites + 3 top-artist albums
  (9 total, shuffled, no duplicates) instead of mirroring recently played
- Build radio stations once when data arrives to avoid re-shuffling
2026-03-10 00:36:29 -06:00
vicrodh 172318b49d fix: radio card art to 110px, add nav arrows to scroll sections
- Reduce radio album art to 110x110px
- Wrap Radio Stations, Rediscover your Library, and Artists to Follow
  in HorizontalScrollRow for < > navigation buttons
- Remove redundant custom scroll row CSS
2026-03-10 00:30:20 -06:00
vicrodh c8cee326c2 feat: redesign Radio Station cards to match iOS reference
- Shrink album art to 114px centered within 180px card
- Extract dominant color from artwork for card background
- Add AlbumCard-style hover overlay with play button and blur
- Nicer animated spinner during radio creation
- Fix RADIO label centering with padding-left matching letter-spacing
- Remove redundant title overlay (already shown below card)
2026-03-10 00:26:42 -06:00
vicrodh e6e0b18f83 fix: start playback after radio queue creation
All three radio commands (album, artist, track) were setting the queue
but not triggering playback. Add bridge.play_index(0) after set_queue.
2026-03-10 00:26:13 -06:00
vicrodh e108b91f6b feat: replace Home icon with compass SVG in sidebar
Use the custom compass SVG provided for the sidebar navigation icon,
replacing the lucide Home icon. Uses fill=currentColor for theme support.
2026-03-10 00:08:48 -06:00
vicrodh 9780948ca8 feat: add Essentials [Genre] section to For You tab
Add v2_reco_get_top_genres command that queries the user's most-played
genres from reco_events. Frontend loads top genre and fetches
ideal-discography featured albums filtered by that genre.
2026-03-10 00:05:25 -06:00
vicrodh ff109e5c64 feat: add Similar to and Rediscover your Library sections to For You tab
Wire v2_get_album_suggestions and v2_reco_get_forgotten_favorites backend
commands into ForYouTab. Similar to picks a random recent album as seed.
Rediscover shows favorites not played in the last 30 days.
2026-03-09 23:52:53 -06:00
vicrodh b34b809ad5 feat: add album suggestions and forgotten favorites backend commands
Add v2_get_album_suggestions (album/suggest endpoint with blacklist filtering)
and v2_reco_get_forgotten_favorites (favorites not played in N days) for the
For You tab's Similar to and Rediscover your Library sections.
2026-03-09 23:50:45 -06:00
vicrodh 61b1bba8d9 feat: add Artists to Follow and Spotlight sections to For You tab
Artists to Follow: fetches similar artists from user's top artists,
filters out already-followed, shows circular images with Follow button
that triggers toggleArtistFavorite.

Spotlight: picks random top artist, loads artist page data, shows
hero image with play/profile buttons, top 5 tracks, and artist radio
card with shadow overlay.
2026-03-09 23:40:24 -06:00
vicrodh 35c4d5a435 feat: implement For You tab Phase 1 with mixes, radio, and reused sections
Create ForYouTab.svelte component with:
- Your Mixes (DailyQ, WeeklyQ, FavQ, TopQ)
- Radio Stations from recent albums with shadow overlay
- Continue Listening tracks
- Recently Played albums
- Your Top Artists
- Favorite Albums

Add i18n keys for all For You sections in 4 locales.
Wire ForYouTab into HomeView replacing placeholder.
2026-03-09 23:31:43 -06:00
vicrodh 93e2955dfa fix: use correct i18n keys for tab button labels
Tab buttons were using home.editorPicks ("Albums of the Week") and
home.forYou (missing key) instead of home.tabEditorPicks and
home.tabForYou.
2026-03-09 23:00:52 -06:00
vicrodh 5e71fbc9ed feat: implement Editor's Picks tab with editorial content sections
Shows newReleases, editorPicks, qobuzissimes, pressAwards, mostStreamed,
essentialDiscography, and qobuzPlaylists in fixed order without home
customization controls. Removed isSectionVisible guards from data
fetching so editorial data is always available across tabs.
2026-03-09 22:56:43 -06:00
vicrodh 34be0aa323 feat: add Home/Editor's Picks/For You tab navigation to HomeView
Add tab button group inline with greeting header. Existing home content
shows only on Home tab. Editor's Picks and For You tabs have placeholders.
i18n keys added to all 4 locales.
2026-03-09 22:50:41 -06:00
vicrodh af4c0655cf fix: apply custom artist images in ArtistsByLocationView and FavoritesView ungrouped grid
- ArtistsByLocationView: resolve custom images via resolveArtistImage in candidatesToFavoriteArtists
- FavoritesView: ungrouped grid was missing withCustomImages wrapper
2026-03-09 21:49:04 -06:00
vicrodh 93d4c34b87 fix: reduce vertical gap between artist rows from 22px to 11px 2026-03-09 21:43:47 -06:00
vicrodh 0ee16c6652 fix: remove load-more counter since genre filter makes counts inaccurate 2026-03-09 21:43:00 -06:00
vicrodh 4536e4e5d2 feat: overhaul ArtistsByLocationView - hero/compact header, genre popup, albums count, inline load-more
- Hero header (140px flag) scrolls with content, compact sticky header appears on scroll-past
- Genre filter popup matches GenreFilterPopup style: dark cards, check-circles, title bar, clear footer
- Add qobuz_albums_count to LocationCandidate and display on artist cards
- Move load-more from fixed bottom to inline footer inside virtual scroll
- Add header/footer snippet props and scroll-past detection to VirtualizedFavoritesArtistGrid
- Increase CARD_HEIGHT from 230 to 250 to accommodate albums count line
2026-03-09 21:25:22 -06:00
vicrodh 878e0341ba fix: remove duplicate titlebar double-click maximize handler
The titlebar has -webkit-app-region: drag which natively handles
double-click-to-maximize via Tauri. The JS ondblclick handler was
firing in addition to the native one, causing maximize then
immediate restore.
2026-03-09 20:55:02 -06:00
vicrodh 23f4373962 fix: add title tooltip to truncated artist names in favorites grid 2026-03-09 20:12:39 -06:00
vicrodh c229631390 fix: favorites album grid overlap and artist grid spacing
Remove flex-wrap from album grid rows (virtualizer handles row
splitting). Increase artist card height to 230px to prevent row
overlap, truncate artist names to single line with ellipsis.
2026-03-09 20:11:33 -06:00
vicrodh 4b6978048c feat: adjust card sizes to 210px and gaps to 22px 2026-03-09 20:01:59 -06:00
vicrodh 2552fb6fd8 feat: increase album card size from 180px to 200px
Update AlbumCard large from 180->200, standard from 162->180.
Increase grid gaps from 14px to 20px across all views.
Update all skeleton/placeholder sizes and virtualized grid constants.
2026-03-09 19:55:22 -06:00
vicrodh 8eb055d06e fix: use 230px images for album cards instead of 600px
Prioritize image.small (230px) over image.large (600px) for all
AlbumCard artwork and queue track thumbnails. Hero/detail views
retain 600px via getQobuzImageForSize(image, 'large').
2026-03-09 19:51:31 -06:00
vicrodh 12fec1979f feat: re-enable all scene discovery caches
- Metadata cache (artist location/genres, 30-day TTL)
- Scene cache (full discovery response for first page, 30-day TTL)
- Qobuz validation cache (per-artist name match, 30-day TTL)

Second visit to same scene loads instantly from cache.
2026-03-09 19:15:14 -06:00
vicrodh 6fb141f2ff feat: inline progress bar for load-more in scene discovery
When loading more results, the button is replaced by a compact
progress bar with percentage, reusing the same backend progress
events as the initial load.
2026-03-09 17:35:51 -06:00
vicrodh faa68d1079 feat: real progress bar and improved loading state for scene discovery
Backend emits 'scene-discovery-progress' events with phase, progress
percentage, and detail. Frontend listens and shows a real progress bar
(0-40% MB search, 40-95% Qobuz validation, 100% done).

Loading state: hides header, cycles icons (Music/Globe/Network) at
1.5s intervals in a 96px pulse circle, shows progress bar with
percentage text.
2026-03-09 17:29:14 -06:00
vicrodh 3050999d60 fix: genre filters behind toggle button, restore load-more at 100
- Genre filter buttons now hidden behind a Filter icon toggle in
  the nav bar, with badge showing active filter count
- Revert to 100 results with load-more pagination (200 was too slow)
2026-03-09 17:21:12 -06:00
vicrodh d9258e0b15 fix: standardize back button margins across all views (ADR-004)
All text-based .back-btn now use margin-top: 24px, margin-bottom: 24px,
color: var(--text-muted), padding: 0. Fixes inconsistent spacing when
navigating between views. Also change genre filter pills from pill
shape (border-radius: 16px) to rounded rectangle (8px).

13 views fixed + ADR-004 created.
2026-03-09 17:18:43 -06:00
vicrodh 75e07c77f0 fix: homologate scene view margins and remove load-more pagination
- Match back button margin-top/bottom (24px) with ArtistDetailView
- Add explicit padding-top/bottom: 0 to scene-view container
- Remove load-more pagination, load 200 artists at once
- Remove unused loadMore function and load-more CSS
2026-03-09 16:30:46 -06:00
vicrodh c790cff019 feat: add genre filter pills to scene discovery view
Extract unique genres from MB tags across all results and display
as clickable pills. Selecting genres filters artists client-side
(AND logic). Shows count ratio when filters active.
2026-03-09 16:27:32 -06:00
vicrodh da225499ef fix: pass known MBID from scene discovery to artist detail view
When navigating from scene discovery to artist detail, pass the
MBID we already have from MusicBrainz instead of resolving by
name. Fixes wrong metadata for homonymous artists (e.g. The
Warning MX vs The Warning US).

Also improve Qobuz validation to request 5 results and pick
the best match by albums_count for name collisions.
2026-03-09 16:21:19 -06:00
vicrodh 74b75c144d feat: filter overly broad genre tags from scene discovery queries
Tags like "latin", "rock", "pop", "electronic" return the entire
country's catalog as noise. These are now excluded from MB search
queries but kept for affinity scoring. If ALL genres are broad,
falls back to using them to avoid empty results.
2026-03-09 15:30:16 -06:00
vicrodh 2a82246f02 fix: scene view margins, flag size, jump-nav, and group dropdown
- Homologate margins with app-wide pattern (padding-left: 18px, padding-right: 8px)
- Flag size increased to 180px circular matching label pic dimensions
- Add alpha jump-nav sticky sidebar for grid view with grouping
- Replace simple group toggle with proper dropdown matching FavoritesView
2026-03-09 15:16:26 -06:00
vicrodh 277ac7a391 feat: rewrite scene discovery view to match Favorites Artists UX
- Country flag header from circle-flags CDN
- Client-side search filtering
- A-Z grouping toggle
- Grid/sidepanel view toggle with album browser
- Back button matching FavoritesView style
- Proper margins and layout matching existing views
- Scene label shows country name only
- Pass countryCode through location context for flag display
2026-03-09 15:04:33 -06:00
vicrodh eb199c9ba1 feat: add country_code to ArtistLocation, fix scene label
Store ISO 3166-1 alpha-2 country code (lowercase) in ArtistLocation
for flag display. Scene label now shows just country name instead of
"Country, City scene".
2026-03-09 14:15:05 -06:00
vicrodh e065af4d7e revert: show precise birth/founding location in sidebar
Restore "Born in: United Kingdom, Brixton" / "Founded in: United
Kingdom, Leyton" in the artist sidebar. The scene discovery search
uses country-level queries regardless, so the sidebar should show
the precise MB location data.
2026-03-09 14:08:07 -06:00
vicrodh 35b1626a7b simplify: search by country instead of subdivision in Lucene
MB Lucene is literal text match only - no hierarchy. Searching by
subdivision (England, California) misses most artists. Now search
directly by country: tag:"heavy metal" AND area:"United Kingdom".
Scoring handles regional relevance.
2026-03-09 14:06:51 -06:00
vicrodh 84bb4f387c feat: include country in Lucene area search for broader results
MB artists have beginarea as specific city (London, Birmingham) and
area as country (United Kingdom), never the subdivision (England).
Now the Lucene query includes the country: tag:"heavy metal" AND
(beginarea:"England" OR area:"England" OR area:"United Kingdom").
This finds all UK heavy metal artists instead of just the 9 that
literally have "England" as their area.
2026-03-09 14:01:43 -06:00
vicrodh 07961504f4 fix: load-more duplicates and stale metadata cache
- Add next_offset to LocationDiscoveryResponse for correct pagination
- Frontend uses MB-level offset instead of displayed artist count
- Frontend deduplicates by mbid when appending load-more results
- Stable sort by score desc + mbid asc for deterministic ordering
- Temporarily disable metadata cache (had stale display_name values)
2026-03-09 13:47:27 -06:00
vicrodh b20f5cd20e feat: show resolved subdivision in artist sidebar instead of birth city
Resolve city to top-level subdivision at metadata time so the artist
sidebar shows "United Kingdom, England" instead of "United Kingdom,
Brixton". Label changed from "Born in"/"Founded in" to "From" to
match the broader regional context of scene discovery.
2026-03-09 13:36:17 -06:00
vicrodh d6796fbe27 feat: walk UP to top-level subdivision for area resolution
Rewrite resolve_parent_subdivision to iteratively walk the hierarchy
until finding the subdivision whose parent is the country.
Brixton -> Lambeth -> Greater London -> England (under UK).
Los Angeles -> California (under US).
Max 5 hops to prevent infinite loops.

Also: bump per_genre_limit to 200, display limit to 50,
fix misleading log (showed original city instead of resolved name).
2026-03-09 13:32:07 -06:00
vicrodh 7aa707e7ee feat: smart area resolution for scene discovery
Resolve cities UP to subdivision level via MB area relations API:
- Leyton -> England, Los Angeles -> California, Brixton -> England
- Uses direction:"forward" to walk "part of" chain upward
- Two-level inline lookup for districts/boroughs (avoids recursive async)
- Bump per_genre_limit to 100 for broader coverage
2026-03-09 13:16:58 -06:00
vicrodh 9696b1d4f4 fix: pass city name separately for MB Lucene search, not compound display_name
Was searching beginarea:"United States, Los Angeles" which returns 0
results. Now passes just "Los Angeles" for the search query and builds
"United States, Los Angeles" display separately for the UI header.
2026-03-09 13:01:08 -06:00
vicrodh 694fd8dd9b feat: rewrite discovery to use genre+area Lucene search instead of blind browse
The browse API returns ALL artists from an area alphabetically with no
genre filtering. For LA that's 15K+ random artists. Now we search
tag:"thrash metal" AND beginarea:"Los Angeles" for each genre, giving
genre-relevant results directly from MusicBrainz.

Also adds dynamic loading messages that cycle through discovery steps
and temporarily disables all scene/validation caching for tuning.
2026-03-09 12:55:17 -06:00
vicrodh 82775ce63a feat: implement v2_discover_artists_by_location pipeline
Full scene discovery pipeline:
1. Resolve area MBID (if not provided) via MB area search
2. Check 30-day scene cache
3. Browse MB artists by area with tags
4. Score candidates with genre affinity algorithm
5. Validate top results against Qobuz catalog
6. Cache validation results individually (30-day TTL)
7. Cache full scene response for offset=0
2026-03-09 12:27:13 -06:00
vicrodh cc65fcc694 fix: artist_type comparison uses lowercase to match serde serialization
The Rust ArtistType enum uses serde(rename_all = "lowercase"), so
"Person" serializes as "person". Frontend was comparing against "Person"
causing all artists (including David Bowie) to show "Founded" instead
of "Born".
2026-03-09 12:18:14 -06:00
vicrodh 0f1595eba5 feat: add ArtistsByLocationView and wire scene discovery navigation
Create the artists-by-location view that displays scene discovery
results using VirtualizedFavoritesArtistGrid. Wire onLocationClick
from ArtistDetailView through +page.svelte to navigate to the new view.
2026-03-09 12:18:02 -06:00
vicrodh 4fc012e21c feat: add origin section to ArtistNetwork sidebar
Shows Founded/Born date and Founded in/Born in location from
MusicBrainz metadata. Location is a clickable link that will
navigate to the artistsByLocation scene discovery view.

Metadata fetched in parallel with relationships, cached 30 days.
Section hidden when MusicBrainz is disabled. Translations added
for en, es, de, fr.
2026-03-09 12:11:34 -06:00