Fix Mix support for Jump Back In, and add logging
This commit is contained in:
parent
305f488016
commit
70f85ed70c
1 changed files with 5 additions and 0 deletions
|
|
@ -574,6 +574,11 @@ export async function handleTrackAction(
|
|||
}
|
||||
}
|
||||
tracks = playlist ? playlist.tracks : item.tracks || [];
|
||||
if (playlist) item.name = playlist.name;
|
||||
} else if (type === 'mix') {
|
||||
const data = await api.getMix(item.id);
|
||||
tracks = data.tracks;
|
||||
if (data.mix) item.title = data.mix.title;
|
||||
}
|
||||
|
||||
if (tracks.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue