Commit Graph
2707 Commits
Author SHA1 Message Date
vicrodh 96ca640313 feat: add MusicBrainz location discovery backend foundation
- models.rs: Area, ArtistMetadata, ArtistLocation, LocationPrecision,
  AffinitySeeds, LocationCandidate, LocationDiscoveryResponse,
  ArtistBrowseResponse, AreaSearchResponse structs. Added area and
  begin_area fields to ArtistFullResponse and ArtistResult.

- client.rs: browse_artists_by_area (MB browse API by area MBID),
  search_area (resolve area name to MBID).

- cache.rs: mb_artist_metadata (30d), mb_scene_cache (30d),
  mb_qobuz_validation (30d) tables with get/set methods.

- genre_normalization.rs: normalize_genre, noisy tag filtering,
  extract_affinity_seeds, genre_summary. Covers rock, metal,
  electronic, hip-hop, jazz, and other genre families.

- location_discovery.rs: extract_metadata from ArtistFullResponse,
  resolve_location with city/state/country precision, country code
  to name mapping, affinity scoring, scene cache key builder,
  MB date formatting.
2026-03-09 12:04:51 -06:00
vicrodh d2430fa19f fix: migrate localStorage to user-scoped storage in views
ArtistDetailView sort preferences and PlaylistDetailView copied
playlists now use getUserItem/setUserItem for per-user scoping.

Added migrateLocalStorageV2 to handle qbz_ prefixed keys that
the original migration missed (only covered qbz- prefix). Runs
once per user independently from v1 migration.
2026-03-09 11:22:34 -06:00
vicrodh fd3586cf70 refactor: replace setTimeout with tick() for DOM scroll query
handleViewArtistDiscography now uses await tick() instead of
setTimeout(100ms) to wait for the DOM update before scrolling
to the discography section.
2026-03-09 11:05:50 -06:00
vicrodh 620dc10a3a perf: batch queue-next calls into single IPC
Replace per-track loops in queueAlbumNextById,
queuePlaylistNextById, and handleAddAlbumToQueueNext with a
single addTracksToQueueNext() call that sends all tracks in one
invoke to v2_add_tracks_to_queue_next. Backend already reverses
order internally.
2026-03-09 11:02:18 -06:00
vicrodh 05e5b3f811 perf: replace JetBrains Mono with system monospace
Use Courier New/system monospace for --font-mono instead of
bundling JetBrains Mono (270KB). Only used for log output
and duration displays where a custom font adds no value.
2026-03-09 10:59:03 -06:00
vicrodh 34b44f9ca8 perf: filter favoritesStore notifications by trackId
TrackRow instances now subscribe with their trackId, so toggling
one track's favorite only fires that row's callback instead of
all ~25 visible rows. Global listeners (FavoritesView, QueuePanel,
etc.) still receive all notifications.
2026-03-09 10:52:46 -06:00
vicrodh af7b72fde5 fix: add scrollable bottom padding to Favorites virtualized tabs
Add 80px padding-bottom inside the virtual scroll containers for
tracks, albums, and artists tabs. This is scrollable space (not fixed)
that prevents the navigate-to-top button from covering the last item.
2026-03-09 10:39:26 -06:00
vicrodh fe719a657d perf: self-host all fonts, remove Google Fonts CDN dependency
Remove @import for fonts.googleapis.com. Self-host JetBrains Mono,
Oswald, and LINE Seed JP with @font-face declarations. App now works
fully offline without external font requests.
2026-03-09 10:31:48 -06:00
vicrodh 4de2dea30c perf: remove permanent will-change: transform from virtual items
Removes will-change: transform from .virtual-item in all 4 virtualized
list components to avoid promoting 10-20 items to individual compositor
layers permanently.
2026-03-09 10:30:57 -06:00
vicrodh 3348108c40 perf: replace transition: all with specific properties (174 instances)
Replace transition: all across 63 files with explicit property lists
(color, background-color, border-color, opacity). Special cases:
- NowPlayingBar control-btn: includes transform for :active scale
- CoverflowPanel: transform + opacity for 3D carousel
- ImmersiveHeader: max-width + opacity for expand animation
2026-03-09 10:30:47 -06:00
vicrodh 01e0974abc docs: add v1.1.19 release notes and update contributors
- TAG_DETAILS.md (GitHub release body)
- CHANGELOG_HIGHLIGHTS.md (website/compact)
- CHANGELOG_FULL.md (detailed changelog)
- Add @arminfelder to About modal contributors
- Remove stale BETA_TEST_CHECKLIST_1.1.15-rc-1.md
2026-03-09 00:46:02 -06:00
vicrodh 05f1a5ec13 chore: bump version to 1.1.19
- Cargo.toml, tauri.conf.json, package.json, snapcraft.yaml
- Regenerate Cargo.lock and package-lock.json
- Add metainfo release entry for 1.1.19
2026-03-09 00:35:42 -06:00
vicrodh 46a572a0e6 chore: clean up AUR packaging
- Remove aur-source and aur-git PKGBUILDs (non-functional, unmaintained)
- Only qbz-bin (prebuilt binary) is maintained on AUR
- Update maintainer email in aur/PKGBUILD
2026-03-09 00:32:19 -06:00
vicrodh 26f20ceb3f fix: resolve tauri version mismatch and track Cargo.lock
- Update @tauri-apps/api from 2.9.1 to 2.10.1 (matches Rust crate 2.10.x)
- Update @tauri-apps/cli from 2.9.6 to 2.10.1
- Remove Cargo.lock from .gitignore (binary projects should track it)
- Fixes build errors for distro packagers (NixOS, etc.)

Closes #151
2026-03-09 00:23:49 -06:00
vicrodh 804a0fd6d5 feat: subtle corner vignettes using darkest album art color
- Extract darkest saturated pixel from artwork (clamped to very dark)
- Render radial gradients at all 4 corners with source-over blending
- Bottom corners slightly stronger for track info text readability
- Bass-driven radius pulse and per-corner position drift for organic feel
- Dark color lerps smoothly on track change like the main palette
2026-03-08 23:39:02 -06:00
vicrodh 21f70b958a feat: Comet visualizer adopts album art colors and fades on silence
- Extract dominant hues from album artwork via canvas sampling
- Replace all hardcoded hue values with palette-derived colors
- Smooth palette transitions when track changes (lerp on hue circle)
- Add time-based mutation for continuous color evolution
- Wisps, rings, and clouds fade to near-invisible when silent
- Black hole shrinks significantly when no audio energy
2026-03-08 23:34:45 -06:00
vicrodh d6db593018 fix: Neon submenu positioning, width, and hover gap
- Remove shared dropdownFadeIn from submenu (caused translateX jump)
- Add dedicated submenuFadeIn animation (slide from left)
- Anchor submenu at bottom instead of top (no position jump)
- Reduce gap to 2px and add invisible hover bridge
- Match submenu width to parent dropdown width
2026-03-08 23:09:31 -06:00
vicrodh 5b1af6346e feat: amplify Comet visualizer music reactivity
Reduce frontend smoothing (0.72->0.52) for faster audio response.
Lower beat detection thresholds and cooldown for more frequent spawns.
Increase bass/high multipliers on wisp speed, width, alpha, tunnel ring
radius, ring stroke width, feedback zoom, and phase advance. Wisps now
visibly surge on beats, rings pulse with bass, and the whole scene
breathes with the music instead of appearing randomly animated.
2026-03-08 23:03:57 -06:00
vicrodh 219609e528 fix: clean sidebar transition when switching between artists
Reset all sidebar data (relationships, discovery, MB state) immediately
on artist change to prevent stale content flash. Add subtle fade-in
animation on sidebar sections for smooth content appearance.
2026-03-08 22:51:54 -06:00
vicrodh a07ee71090 feat: tag-scoped thumbs down for discovery recommendations
Add dismissal system for "You May Also Like" discovery artists. Dismissals
are scoped to the genre tag used for the search, so dismissing AC/DC from
electronic recommendations won't affect metal recommendations.

- New discovery_dismissals table in reco DB (tag + normalized artist name)
- v2_dismiss_discovery_artist command persists dismissal per tag
- Discovery pipeline filters dismissed artists for both primary and secondary tags
- Backend returns 8 results (frontend shows 6, keeps 2 reserves)
- Thumbs-down button appears on hover, instantly replaces with reserve
- Returns primaryTag in DiscoveryResponse for frontend dismiss context
2026-03-08 22:49:06 -06:00
vicrodh 9f709efdc6 fix: artist network sidebar UX and equalizer paused state
- Sidebar opens by default with localStorage persistence
- Simplified header: "Artist Network" title + PanelRightClose icon
- Hide RELATIONSHIPS section when no data (no empty placeholder)
- Restore sidebar after queue/lyrics panel closes
- Clean up sidebar state on artist view destroy
- TrackRow: show track number instead of frozen bars when paused
2026-03-08 22:40:29 -06:00
vicrodh e13fa48707 feat(immersive): show modal on performance auto-degrade with dismiss option
Replace toast notification with a proper modal dialog when the
performance watchdog degrades background mode. Modal includes a
"Don't show again" checkbox that persists to localStorage.

Threshold: < 15 FPS sustained for 5 seconds (after 3s warmup).
User can always re-enable effects from Settings > Appearance.
2026-03-08 21:55:10 -06:00
vicrodh 017a081f7f feat(immersive): auto-degrade background on sustained low FPS
Add performance watchdog to ImmersiveRenderer that monitors FPS after
a 3-second warmup period. If FPS stays below 15 for 5 consecutive
seconds, automatically degrades background mode (Full -> Lite -> Off),
persists the setting, and shows a toast notification.

ImmersiveBackground listens for the degradation event and switches
renderer in-place without requiring a full remount.
2026-03-08 21:49:35 -06:00
vicrodh 776987856a fix: tray icon path for Flatpak and titlebar double-click maximize
- Fix Flatpak tray icon path (com.blitzfc.qbz, not com.blitzkriegfc.qbz)
- Fix titlebar double-click: prevent JS handler from firing on native
  drag regions, which caused double toggleMaximize (maximize then
  immediate restore)
- Improve tray click handlers to properly detect minimized state
2026-03-08 21:43:30 -06:00
vicrodh 572d23b935 feat: replace ListenBrainz co-listening with MusicBrainz tag-based discovery
ListenBrainz similar-artists returned mainstream crossover artists (SOAD,
Led Zeppelin for Metallica) instead of genre-accurate results. Now uses
MusicBrainz tag search to find artists sharing the seed's primary genre tag
(e.g. "thrash metal" returns Megadeth, Slayer, Kreator, etc).

- Add search_artists_by_tag to MusicBrainz client
- Deterministic shuffle using seed MBID hash for variety across artists
- Secondary tag fallback when primary yields fewer than 5 results
- Rename label to "You May Also Like", limit results to 6
- Add Last.fm get_similar_artists method (unused, for future use)
- Add tags field to ArtistFullResponse model
- Tighten local history exclusion to play_count > 2
2026-03-08 21:30:01 -06:00
vicrodh a029f30fa5 feat: show similarity percentage in discovery artists sidebar
Display similarity score next to each discovery artist name. Update
DiscoveryArtist interface with similarityPercent field. Add i18n keys
for youMayAlsoLike section and sidebar layout improvements.
2026-03-08 15:47:33 -06:00
vicrodh cd0615350f refactor: switch discovery to ListenBrainz Labs similar-artists API
Replace lb-radio endpoint (popularity-based) with Labs similar-artists
POST endpoint that returns actual similarity scores. Add 85% threshold
filtering and expose similarityPercent field in DiscoveryArtist model.
2026-03-08 15:47:17 -06:00
vicrodh 501546fb55 feat: add ListenBrainz discovery pipeline for Artist Network sidebar
Add v2_get_discovery_artists command that uses ListenBrainz lb-radio API
to find novel artist recommendations. Pipeline: fetch candidates from
ListenBrainz, filter out seed/similar/local-history artists, resolve on
Qobuz, filter blacklisted, return top 8 by affinity score.
2026-03-08 14:51:30 -06:00
vicrodh a2eabf08f1 fix: freeze equalizer animation when player is paused
Separate isActiveTrack (current track) from isPlaying (actively playing)
so the equalizer bars freeze via animation-play-state when paused instead
of always animating. Show Play icon on hover when paused, Pause when playing.
Also fix AlbumDetailView which was missing the isPlaybackActive check.
2026-03-08 13:24:12 -06:00
vicrodh 8c626c0e6a fix: poll output device name so it updates during playback
The device name was only read on mount and on hover, so it stayed
as "No device" until the user hovered the badges area. Now the
1-second poll also reads get_audio_output_status (cheap in-memory
read) alongside hardware status, keeping the device name current.
2026-03-08 13:10:53 -06:00
vicrodh bdc24c5a2e fix: show configured device name when player has no active stream
Fall back to settings.output_device when the player hasn't reported
a device yet (before first playback). Previously showed "No device"
even though a device was configured in audio settings. Also change
the final fallback from "No device" to "System Default" since no
configured device means the system default is being used.
2026-03-08 13:04:51 -06:00
vicrodh 309c4b2cc2 fix: clear reco meta caches when image cache is cleared
When the user clears the image cache from settings, also clear
reco_album_meta, reco_track_meta, and reco_artist_meta tables.
This forces re-resolution from Tier 2/3 with the correct (small)
image URLs instead of keeping stale large (600px) URLs in Tier 1.
2026-03-08 12:56:35 -06:00
vicrodh 63b1161afe perf: optimize ML/reco module for home view loading
- Add composite indexes on reco_events for GROUP BY + ORDER BY queries
  (event_type + album_id/track_id/artist_id + created_at DESC)
- Add composite index on reco_scores for scored lookups
  (score_type + item_type + score DESC)
- Eliminate duplicate fallback queries in get_home_seeds_internal
  by inlining the empty check into the scored branch
- Parallelize resolve_favorites with recent albums, tracks, and
  artists (4-way tokio::try_join instead of 3 + sequential)
- Batch cache writes: collect all Tier 3 API results first, then
  write to API cache and reco meta with single lock acquisitions
  instead of locking per-item inside spawned tasks
2026-03-08 12:52:52 -06:00
vicrodh 8a2c12ee41 perf: parallelize artist resolution and use small images for cards
Resolve albums, tracks, and artists concurrently with tokio::try_join
instead of sequentially. Artists were waiting behind album/track
resolution unnecessarily. Also change get_image() to prefer small
(230px) over large (600px) for card contexts, reducing download size.
2026-03-08 12:41:00 -06:00
vicrodh f95620ba12 fix: apply home settings changes immediately without reload
Add loadHome({ showSkeletons: false }) to the settings subscription
callback so visibility toggles, reordering, and limit changes are
reflected in real-time instead of requiring a page reload.
2026-03-08 12:28:38 -06:00
vicrodh 070589427b feat: apply image cache to all artist image components
Use cachedSrc action for artist images in SearchView, HomeView,
ArtistDetailView, VirtualizedFavoritesArtistGrid, and
VirtualizedFavoritesArtistList. Use size-aware image selection
(small instead of large) for grid/card contexts. Add opacity
transition for smooth placeholder-to-image loading.
2026-03-08 12:20:26 -06:00
vicrodh 8379227a0e fix: hide image during cache resolution to show placeholder
Image is hidden (opacity 0) until the cached URL resolves, preventing
broken image icons. The disc placeholder shows through while loading.
Adds a subtle 150ms fade-in transition when the image appears.
2026-03-08 10:57:23 -06:00
vicrodh 6b87554dbb feat: frontend image cache with size-aware loading and settings UI
- getQobuzImageForSize(): picks small (230px) for grids, large for hero
- cachedSrc Svelte action: resolves images through backend disk cache
- imageCacheService: in-memory URL map with dedup for pending requests
- AlbumCard uses cachedSrc action for artwork rendering
- Settings UI: Toggle for cache on/off, numeric input for max size (MB),
  stats display, clear button — uses existing Toggle and input styles
- Removed unused Artwork Thumbnails section (never showed data)
- i18n: added image cache keys to all 4 locales (en/es/de/fr)
2026-03-08 10:52:35 -06:00
vicrodh e8d6aa4f4f feat: add image cache backend with LRU eviction
- ImageCacheService: disk-based cache keyed by MD5 hash of URL
- LRU eviction by last-access time (not creation time)
- ImageCacheSettings: configurable max size (default 200MB), can disable
- v2 commands: get_cached_image, get/set settings, stats, clear cache
- Cache stored at ~/.cache/qbz/images/ with SQLite metadata
2026-03-08 10:37:42 -06:00
vicrodh 7cec1101d1 fix: make currentNavItemId reactive with $state()
Without $state(), Svelte 5 doesn't track changes to currentNavItemId,
so the scroll reset $effect never re-fires on same-view item changes.
2026-03-08 10:17:45 -06:00
vicrodh 3c783973b1 fix: reset scroll to top on forward navigation between same-view items
When navigating from album(1) to album(2), the view type stays 'album'
so the scroll reset effect didn't trigger. Now tracks currentNavItemId
changes too, and explicitly scrolls to top for forward navigation while
preserving scroll restore on back/forward.
2026-03-08 10:12:02 -06:00
vicrodh 150d80dfac feat: granular navigation history with per-item scroll position
Navigation history now tracks itemId per entry (album, artist, playlist,
label, musician, purchase-album) so back/forward restores the exact page.
Scroll positions are saved per view+itemId key and restored on back/forward.
2026-03-08 10:05:45 -06:00
vicrodh c4b25b2b94 fix: remove unused .experimental-inline CSS selector 2026-03-08 09:49:08 -06:00
vicrodh 57702afc37 fix: respect force_dmabuf as full GPU opt-in for compositing too (#127)
When user enables Force DMA-BUF in Developer Settings, skip the
NVIDIA+Wayland compositing disable. This setting signals "I want
full GPU acceleration" and should grant both DMA-BUF and compositing.
2026-03-08 09:43:57 -06:00
vicrodh 4a4a9a4213 fix: defensive graphics fixes for Flatpak Wayland blur stutter (#127)
- Detect Flatpak sandbox at startup and log it
- In Flatpak on Wayland, unset DISPLAY to prevent WebKitGTK from
  falling back to XWayland internally (causes CPU-GPU texture
  round-trips that degrade CSS blur performance)
- Per-GPU Wayland paths: only disable compositing and DMA-BUF for
  NVIDIA on Wayland. AMD/Intel get full GPU acceleration on native
  Wayland (compositing enabled, DMA-BUF enabled)
- Change GitHub Releases Flatpak manifest from --socket=x11 to
  --socket=fallback-x11 to match Flathub and prevent XWayland
  on Wayland sessions
2026-03-08 09:32:56 -06:00
vicrodh df37b2c15d fix: only re-categorize download group items, not other/compilation (#149)
The "other" group contains podcast episodes with release_type "album"
that should stay in Others, not be moved to Albums. Only "download"
group items should be re-categorized since download is a distribution
channel, not a content classification.
2026-03-07 23:07:10 -06:00
vicrodh 6bcfaa8f90 fix: label releases search bar grows from right, fixed nav height, homologate back button 2026-03-07 23:03:42 -06:00
vicrodh d9d3054921 ci: trigger APT repo update on release publish 2026-03-07 23:03:42 -06:00
vicrodh 5ae5543cda fix: remove position recall from session restore, always start from beginning
Position restore was unreliable (always showed 0:01). Session restore
now loads the track ready to play from start without seeking.
2026-03-07 23:03:28 -06:00
vicrodh 6baae44327 fix: map epSingle type and re-categorize items from download/other groups (#149)
The Qobuz artist/page API returns release groups with type "epSingle"
(not "ep" or "single"), and groups like "download" and "other" contain
mixed items (singles, albums) that should be re-categorized by each
item's individual release_type field.
2026-03-07 23:03:20 -06:00