remove call to get starred albums. doesnt work
This commit is contained in:
parent
6886e2668b
commit
2d79cd5d6f
@ -193,12 +193,9 @@ export class API {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getStarred() {
|
async getStarred() {
|
||||||
const [tracks, albums] = await Promise.all([
|
return this
|
||||||
this.get("rest/getStarred2").then(r => this.normalizeTrackList(r.starred2.song)),
|
.get("rest/getStarred2")
|
||||||
this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2),
|
.then(r => this.normalizeTrackList(r.starred2.song))
|
||||||
this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2),
|
|
||||||
]);
|
|
||||||
return { tracks, albums }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async star(type: 'track' | 'album' | 'artist', id: string) {
|
async star(type: 'track' | 'album' | 'artist', id: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user