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:
yuriy.p committed 2026-11-16 12:21:02 +06:00
1 parent 391a554736
commit 5dbdc04cd4
32 files changed
+2906 -150

No files matched your search

Generated
+14
View File
@@ -3010,6 +3010,7 @@ dependencies = [
"serde",
"serde_json",
"souvlaki",
"subsonic-api",
"sys-locale",
"tokio",
"winresource",
@@ -5009,6 +5010,19 @@ dependencies = [
"float-cmp",
]
[[package]]
name = "subsonic-api"
version = "0.3.2"
dependencies = [
"md-5",
"rand 0.9.5",
"reqwest",
"serde",
"serde_json",
"thiserror 2.0.21",
"tokio",
]
[[package]]
name = "subtle"
version = "2.6.1"