Commit Graph
3373 Commits
Author SHA1 Message Date
Victor RH 1b10f6c132 Merge pull request #246 from afonsojramos/feat/macos-rich-notifications-pr
feat(macos): add album artwork to notifications
2026-03-31 20:27:23 -06:00
Victor RH 4b988a6c61 Merge pull request #245 from afonsojramos/fix/macos-hide-linux-settings
fix(macos): hide Linux-only settings and fix content padding
2026-03-31 20:27:16 -06:00
Victor RH 4a8f2e5562 Merge pull request #244 from afonsojramos/fix/macos-gate-idle-inhibit
fix(macos): gate idle_inhibit module for Linux only
2026-03-31 20:27:09 -06:00
Victor RH b2f75cc85c Merge pull request #239 from afonsojramos/feat/macos-deep-link
feat(macos): add deep link support for qobuzapp:// URLs
2026-03-31 20:27:02 -06:00
Victor RH fbac26ad34 Merge pull request #237 from afonsojramos/fix/lucide-github-icon
fix: replace removed Github icon with simple-icons
2026-03-31 20:26:36 -06:00
Victor RH eed692a852 Merge pull request #236 from afonsojramos/feat/coreaudio-device-probing
feat(macos): add CoreAudio device probing and sample rate switching
2026-03-31 20:26:29 -06:00
Afonso Jorge Ramos b8af1763ef feat(macos): add album artwork to notifications via image_path 2026-04-01 03:35:34 +02:00
Afonso Jorge Ramos a4a591e73c feat(macos): switch to notify-rust fork with image_path support 2026-04-01 03:35:27 +02:00
Afonso Jorge Ramos 684dd55887 fix(macos): scope title bar padding to non-home views only 2026-04-01 03:27:25 +02:00
Afonso Jorge Ramos 9823dfb680 fix(macos): enable x86_64 cross-compilation
- Upgrade rust_cast 0.18.1 → 0.21 (switches from openssl to rustls,
  removing the openssl-sys dependency that blocked x86_64 cross-compile)
- Split mupdf sys-lib features to Linux-only (on macOS there are no GTK
  symbol conflicts, and system libs don't support x86_64 cross-compile
  from Apple Silicon)
- Update release-macos workflow to build both aarch64 and x86_64 DMGs
  using a matrix strategy
2026-04-01 02:40:55 +02:00
Afonso Jorge Ramos 071865e79b fix: replace removed Github icon with simple-icons
lucide-svelte 1.0 dropped brand icons, breaking the Github import in
AboutModal. Use @icons-pack/svelte-simple-icons (SiGithub) instead.
2026-04-01 02:32:27 +02:00
Afonso Jorge Ramos cd2472f5d9 fix(macos): add top padding to clear native overlay title bar 2026-04-01 02:29:33 +02:00
Afonso Jorge Ramos b6ad192658 fix(macos): hide Linux-only settings on macOS 2026-04-01 02:29:32 +02:00
Afonso Jorge Ramos 478353055c fix(macos): gate idle_inhibit module for Linux only 2026-04-01 02:27:21 +02:00
vicrodh 1e019becfd fix: resolve correct artist and country for MusicBrainz metadata
Three fixes:
- resolve_artist now prefers exact name matches over highest score,
  fixing "The Warning" resolving to "Fates Warning" (score=100 but
  wrong name vs score=97 exact match)
- resolve_area_country now returns ISO country code alongside name,
  fixing flag display (was showing US flag for German artists)
- country_code updated in location metadata for correct flag rendering

cc
2026-03-31 17:23:00 -06:00
vicrodh 1953774d03 fix: resolve birth country from area hierarchy instead of MB country field
Add resolve_area_country() that walks the MB area hierarchy up to
the country level (e.g., Frankfurt -> Hessen -> Germany).

Use it in v2_musicbrainz_get_artist_metadata to get the real birth
country instead of MB's "country" field (which is where the artist
is active, not where they were born).

Hans Zimmer now shows "Frankfurt am Main, Germany" and clicking
the location shows German composers, not American ones.

cc
2026-03-31 17:17:01 -06:00
vicrodh 305cffa08e fix: don't append country to birth location display
MB's country field is where the artist is active, not where they
were born. When begin_area exists (city-level), display only the
city name to avoid incorrect attribution (e.g., Hans Zimmer born
in Frankfurt showing "United States").

cc
2026-03-31 16:57:13 -06:00
vicrodh f702622e0e fix: correct artist birth/formation location display order
Two bugs in location_discovery.rs:
- Display format was "Country, City" instead of "City, Country"
- Country was derived from area (where artist is active) instead
  of country code (where artist was born/formed)

Hans Zimmer now shows "Frankfurt am Main, Germany" instead of
"United States, Frankfurt am Main"

Closes #235

cc
2026-03-31 16:54:07 -06:00
vicrodh d19c142d4f fix: switch log upload to paste.rs (dpaste.org returns 403/405)
paste.rs accepts raw POST body and returns URL directly.
Simpler API, no expiration config needed.

cc
2026-03-31 16:45:07 -06:00
vicrodh 527d63ca2c fix: migrate log upload from 0x0.st to dpaste.org
0x0.st disabled uploads. Switch to dpaste.org with 15-day expiry.
Use form POST instead of multipart, update all 5 locale files.

cc
2026-03-31 16:43:28 -06:00
vicrodh a87e35d167 fix: restore MPRIS metadata and playback context on session resume
- Send track metadata to MPRIS on session restore so playerctl
  shows title/artist/album immediately after app restart
- Persist playback context (album, playlist, etc.) to localStorage
  on session save and restore it on startup
- Add buffer_progress to frontend PlaybackEvent type

Closes #240

cc
2026-03-31 16:33:07 -06:00
vicrodh 6acd843891 feat: add streaming buffer progress indicator to seekbar
Show a subtle buffer progress bar in the seekbar when streaming
tracks (before they are fully cached). The bar disappears once
the track is fully buffered.

Backend: expose buffer_progress from BufferedMediaSource through
SharedState -> PlaybackEvent -> playerStore.
Frontend: render .seekbar-buffer bar behind the playback fill.

cc
2026-03-31 16:02:07 -06:00
vicrodh 18403bba73 fix: single ESC exits both immersive overlay and window fullscreen
closeFullScreen() now also exits window fullscreen so the user
doesn't need to press ESC twice.

cc
2026-03-31 15:42:41 -06:00
vicrodh b315b23b61 fix: F11 fullscreen toggle and ESC exit work globally
F11 now toggles window fullscreen from anywhere in the app, not just
inside the immersive player. ESC exits window fullscreen when no UI
overlays are open.

Closes #202

cc
2026-03-31 15:34:27 -06:00
vicrodh 84b54ed2ce chore: fix SSH commit signing after Gentoo migration
cc
2026-03-31 15:25:28 -06:00
victorrhgap 759149f32b feat(favorites): add bulk make-offline action to track selection bar
Add CloudDownload button to BulkActionBar for downloading selected
tracks for offline use. Fires v2_cache_favorite_track for each
selected track.

Closes #231

cc
2026-03-31 14:05:10 -06:00
victorrhgap 93374080a0 feat(titlebar): add Playlists to favorites dropdown in titlebar nav
Add ListMusic icon and playlists tab to TitleBarNav favorites dropdown,
matching the sidebar fix.

cc
2026-03-31 13:55:09 -06:00
victorrhgap b00f294e1c feat(sidebar): add Playlists to favorites quick access menu
Remove filter that excluded playlists from sidebar favorites section.
Add ListMusic icon for the playlists tab in both expanded and
collapsed popover views.

Closes #233

cc
2026-03-31 13:09:14 -06:00
victorrhgap 080b916c64 feat: prevent system sleep during playback via XDG portal
Add idle_inhibit module using ashpd's Inhibit portal to prevent
screen blanking and system suspend while audio is playing.

- Acquires Idle+Suspend inhibit when playback starts
- Releases when paused, stopped, or track cleared
- Works on GNOME, KDE, Sway, XFCE
- Works inside Flatpak/Snap (no extra permissions needed)
- Graceful fallback if portal unavailable

Addresses #229

cc
2026-03-31 12:41:21 -06:00
victorrhgap 2900fb882c feat: add log sanitization for sensitive IDs and UUIDs
Add log_sanitize module with mask_uuid() and mask_id() functions to
prevent security scanners from flagging user IDs and session UUIDs
in log output.

- mask_uuid: 123e4567-e89b-12d3-a456-426614174000 -> 123e4567-****-****-****-****14174000
- mask_id: 12345678 -> 1234****
- Applied to offline_user_id in session_lifecycle (CodeQL alert #50)
- Applied to session_uuid and command uuid in qconnect_service

cc
2026-03-31 12:05:24 -06:00
victorrhgap 8b38316a85 style: remove unused CSS selectors in SearchView
cc
2026-03-31 11:11:18 -06:00
victorrhgap 016b0f6166 chore: remove unused required_i32_to_u64 function
cc
2026-03-31 11:09:32 -06:00
victorrhgap 4e526b1ae5 chore(deps): upgrade vite 6->8, vite-plugin-svelte 5->7, kit 2.55
- vite 8.0.3: Rolldown replaces Rollup+esbuild as build engine
- @sveltejs/vite-plugin-svelte 7.0.0: requires vite 8, inspector integrated
- @sveltejs/kit 2.55.0: vite 8 compatibility
- vitest 4.1.2: stable vite 8 peer dep
- Remove esbuild override (no longer needed with Rolldown)

Build, tests (92/92), and svelte-check all pass.

cc
2026-03-31 10:30:05 -06:00
victorrhgap a99d558e37 fix: update lofty 0.18 API calls to lofty 0.23
- Imports reorganized: use lofty::prelude::*, lofty::tag::*, lofty::picture::*
- Picture::new_unchecked -> Picture::unchecked().pic_type().mime_type().build()
- set_year/remove_year -> set_date/remove_date with Timestamp
- ItemKey::Unknown("ISRC") -> ItemKey::Isrc
- save_to_path(path) -> save_to_path(path, WriteOptions::default())
- get_string/remove_key now take ItemKey by value
- Bump qbz-library crate lofty dep to 0.23

cc
2026-03-31 09:32:02 -06:00
Victor RH e229bbd7c3 Merge pull request #223 from vicrodh/dependabot/cargo/src-tauri/pre-release/lofty-0.23.3
chore(deps): bump lofty from 0.18.2 to 0.23.3 in /src-tauri
2026-03-31 09:11:39 -06:00
victorrhgap 166d346730 fix: update axum 0.7 API calls to axum 0.8
- Route path params: /:id -> /{id} (matchit 0.8 syntax)
- WebSocket Message::Text now takes Utf8Bytes: payload -> payload.into()

cc
2026-03-31 07:50:49 -06:00
Afonso Jorge Ramos a2fb44511d feat(macos): add deep link support for qobuzapp:// URLs
Add tauri-plugin-deep-link to handle qobuzapp:// URLs on macOS, where
the OS delivers URLs via Apple Events instead of CLI arguments.

- Register qobuzapp scheme in tauri.conf.json (injected into Info.plist)
- Add on_open_url handler for Apple Event URL delivery
- Extract is_qobuz_link() and handle_qobuz_link() helpers to deduplicate
  URL matching across single-instance, first-launch, and deep-link paths
- Tighten URL matching from contains() to starts_with() for security
- Log emit errors instead of silently discarding them
2026-03-31 05:53:44 +02:00
Victor RH b9572b3c2e Merge pull request #218 from vicrodh/dependabot/cargo/src-tauri/pre-release/axum-0.8.8
chore(deps): bump axum from 0.7.9 to 0.8.8 in /src-tauri
2026-03-30 21:46:12 -06:00
Victor RH 1e4ce38258 Merge pull request #224 from vicrodh/dependabot/cargo/src-tauri/pre-release/souvlaki-0.8.3
chore(deps): bump souvlaki from 0.7.3 to 0.8.3 in /src-tauri
2026-03-30 21:39:20 -06:00
victorrhgap 66a0c8f02a fix: update rand 0.8 API calls to rand 0.10
- thread_rng() -> rng()
- RngCore/fill_bytes -> RngExt/fill
- OsRng.fill_bytes -> rng().fill
- gen_range -> random_range
- Rng -> RngExt trait import

cc
2026-03-30 21:13:16 -06:00
Victor RH f9c32a25a9 Merge pull request #225 from vicrodh/dependabot/cargo/src-tauri/pre-release/rand-0.10.0
chore(deps): bump rand from 0.8.5 to 0.10.0 in /src-tauri
2026-03-30 20:59:16 -06:00
victorrhgap 00cf8cf450 refactor(icons): rename all deprecated lucide-svelte icons to v1 names
Replace Github icon with inline SVG (brand icons removed in lucide v1).
Rename 15 deprecated icon aliases to their canonical v1 names:
AlertCircle->CircleAlert, AlertTriangle->TriangleAlert,
BarChart2->ChartNoAxesColumn, CheckCircle->CircleCheckBig,
CheckSquare->SquareCheckBig, Edit3->PenLine, Filter->Funnel,
HelpCircle->CircleHelp, Home->House, Loader2->LoaderCircle,
Mic2->MicVocal, MoreHorizontal->Ellipsis, MoreVertical->EllipsisVertical,
XCircle->CircleX, AlignLeft->AlignStartVertical

cc
2026-03-30 20:53:24 -06:00
Afonso Jorge Ramos 6bf397e0f3 feat(macos): auto-select SystemDefault backend on non-Linux
When backend_type is None (auto-detect), default to SystemDefault on
non-Linux platforms so macOS gets CoreAudio device probing and sample
rate switching instead of falling through to the legacy CPAL path.
2026-03-31 02:20:13 +02:00
Afonso Jorge Ramos 4c15a43200 feat(macos): enhance CpalDefaultBackend with device capabilities
On macOS, enumerate_devices() now populates supported_sample_rates,
max_sample_rate, device_bus, and is_hardware via CoreAudio probing.
create_output_stream() switches the device sample rate to match the
track before opening the CPAL stream.
2026-03-31 02:20:08 +02:00
Afonso Jorge Ramos c51f07fe65 feat(macos): add CoreAudio device probing and sample rate switching
Add coreaudio_direct module using coreaudio-rs safe wrappers for:
- Device capability probing (supported sample rates, transport type)
- Automatic sample rate switching per-track
- Device lookup by name for CoreAudio↔CPAL bridging

Uses a fork branch of coreaudio-rs that adds get_available_sample_rates
and get_device_transport_type helpers (PR RustAudio/coreaudio-rs#149).
2026-03-31 02:19:59 +02:00
Victor RH 0ce54c3f10 Merge pull request #222 from vicrodh/dependabot/npm_and_yarn/pre-release/lucide-svelte-1.0.1
chore(deps): bump lucide-svelte from 0.562.0 to 1.0.1
2026-03-30 13:47:23 -06:00
Victor RH 7db3ecfae9 Merge pull request #221 from vicrodh/dependabot/npm_and_yarn/pre-release/svelte-5.55.0
chore(deps-dev): bump svelte from 5.54.0 to 5.55.0
2026-03-30 13:31:08 -06:00
Victor RH 1b0ccd7e3e Merge pull request #220 from vicrodh/dependabot/cargo/src-tauri/pre-release/image-0.25.10
chore(deps): bump image from 0.25.9 to 0.25.10 in /src-tauri
2026-03-30 13:31:05 -06:00
Victor RH 69d6356746 Merge pull request #214 from vicrodh/dependabot/npm_and_yarn/picomatch-4.0.4
chore(deps-dev): bump picomatch from 4.0.3 to 4.0.4
2026-03-30 13:31:02 -06:00
victorrhgap 84c9b69359 style: fix indentation and missing semicolon from PR #230
cc
2026-03-30 13:29:29 -06:00