Files
qbz/crates/qbz-models/Cargo.toml
T
vicrodh 2a2328e6c6 feat(slint): MPRIS album art (mpris:artUrl) — Qobuz pass-through + local file://
Port the Tauri normalizeCoverUrlForMetadata workaround as ArtworkRef::to_mpris_url
(qbz-models): remote Qobuz covers pass through as-is, local-file covers become a
percent-encoded file:// URI (MPRIS clients cannot read bare paths or asset://),
Plex thumbs become a tokenized HTTP URL. Wired into the Slint now-playing push so
the media widget shows album art. The app icon was already fixed via DesktopEntry.

cc
2026-06-06 11:58:17 -06:00

27 lines
533 B
TOML

[package]
name = "qbz-models"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Shared types, events, and traits for QBZ music player"
[dependencies]
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
# Async
async-trait = { workspace = true }
# Logging
log = { workspace = true }
# Error handling
thiserror = { workspace = true }
# Time
chrono = { workspace = true }
# Correct file:// URI building for media-controls art (ArtworkRef::to_mpris_url)
url = "2"