remove folder banner

This commit is contained in:
geoffrey45
2022-09-12 21:37:44 +03:00
parent f5b6791d4b
commit 69b8b17e84
8 changed files with 24 additions and 99 deletions
+10 -3
View File
@@ -76,20 +76,27 @@ export default defineStore("Queue", {
if (this.currentindex !== this.tracklist.length - 1) {
setTimeout(() => {
if (!this.playing) return;
this.playNext();
}, 1000);
}, 5000);
}
});
},
playPause() {
if (audio.src === "") {
this.play(this.currentindex);
} else if (audio.paused) {
}
if (audio.paused) {
audio.play();
this.playing = true;
} else {
audio.pause();
}
if (this.playing) {
this.playing = false;
} else {
this.playing = true;
}
},
playNext() {