Reverted #286. From testing (which I should've done before but cba) this has not resolved the issue.

This commit is contained in:
Core 2022-02-01 00:26:54 +00:00
parent c4b7e3ae43
commit becb585e30
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -6,7 +6,7 @@
<div class="spinner"></div>
</div>
</template>
<template>
<template v-if="app.playlists.loadingState == 1">
<div class="playlist-display"
:style="{
'--bgColor': (data.attributes.artwork != null && data.attributes.artwork['bgColor'] != null) ? ('#' + data.attributes.artwork.bgColor) : '',
@ -133,10 +133,6 @@
v-for="(item,index) in data.relationships.tracks.data"></mediaitem-list-item>
</draggable>
<div class="mt-3" v-if="app.playlists.loadingState != 1">
<div class="spinner" style="width: 25px; height: 25px;"></div>
<span>{{$root.getLz("term.loadingPlaylist")}}</span>
</div>
</div>
</div>
@ -481,7 +477,6 @@
const truekind = (!kind.endsWith("s")) ? (kind + "s") : kind;
let query = (this.data ?? app.showingPlaylist).relationships.tracks.data.map(item => new MusicKit.MediaItem(item));
console.log(query);
app.mk.stop().then(function () {
app.mk.setQueue({[truekind]: [id]}).then(function () {
app.mk.play().then(function () {