mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
remove folder banner
This commit is contained in:
+10
-3
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user