feat: My server, browse and play a Navidrome library
Adds a "My server" sidebar item (⌘5) for Navidrome and other Subsonic-compatible servers: albums, artists, playlists, starred songs and search, with album, artist and playlist pages. Server songs share the player and queue with Yandex tracks and scrobble back to the server. - New subsonic-api crate: token auth, envelope and error parsing, and a stream plan that keeps files the player decodes and asks the server to transcode the rest to MP3. - ym_api::Track gains a Subsonic source; the player fetches, reports and scrobbles by source. Server errors never sign out of Yandex, and the Yandex client never fetches server audio or covers. - Server credentials live in the keychain; connect and disconnect from the page or Settings. - Server tracks have no likes; lyrics come from LRCLIB.
This commit is contained in:
1 parent
391a554736
commit
5dbdc04cd4
32 files changed
+2906
-150
No files matched your search
@@ -0,0 +1,21 @@
|
||||
[package]
|
||||
name = "subsonic-api"
|
||||
description = "Client for Subsonic-compatible music servers such as Navidrome"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
thiserror = "2"
|
||||
md-5 = "0.10"
|
||||
rand = "0.9"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
Reference in new issue
Block a user