Update to support latest navidrome version

This commit is contained in:
claude Bot committed 2026-01-13 20:13:36 +00:00
1 parent 558c79d0cb
commit bc8d9908d1
9 files changed
+375 -323

No files matched your search

+5 -2
View File
@@ -99,7 +99,10 @@ impl Subsonic {
.song)
}
pub async fn get_playlist(&self, playlist_id: String) -> Result<Playlist, SubsonicError> {
pub async fn get_playlist(
&self,
playlist_id: impl ToString,
) -> Result<Playlist, SubsonicError> {
let auth_params = self.auth_params();
let get_params = [
@@ -109,7 +112,7 @@ impl Subsonic {
("v", String::from("16")),
("c", String::from("playlistd")),
("f", String::from("json")),
("id", playlist_id),
("id", playlist_id.to_string()),
];
Ok(self