mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Fix playlists?
This commit is contained in:
@@ -693,7 +693,7 @@ export class SubsonicMusicLibrary implements MusicLibrary {
|
|||||||
playlists = async () =>
|
playlists = async () =>
|
||||||
this.subsonic
|
this.subsonic
|
||||||
.getJSON<GetPlaylistsResponse>(this.credentials, "/rest/getPlaylists")
|
.getJSON<GetPlaylistsResponse>(this.credentials, "/rest/getPlaylists")
|
||||||
.then(({ playlists }) => (playlists.playlist || []).map(asPlayListSummary))
|
.then(({ playlists }) => (playlists?.playlist || []).map(asPlayListSummary))
|
||||||
|
|
||||||
playlist = async (id: string) =>
|
playlist = async (id: string) =>
|
||||||
this.subsonic
|
this.subsonic
|
||||||
|
|||||||
Reference in New Issue
Block a user