mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
fix playTrackNext function in queue store
This commit is contained in:
committed by
Mungai Njoroge
parent
26ab972a8d
commit
bb95011dff
+1
-1
@@ -7,7 +7,7 @@ export interface D<T = string> {
|
||||
|
||||
const domains: D = {
|
||||
local: "http://localhost:",
|
||||
remote: "http://10.16.22.240:",
|
||||
remote: "http://10.10.219.196:",
|
||||
};
|
||||
|
||||
const ports = {
|
||||
|
||||
+1
-1
@@ -190,7 +190,7 @@ export default defineStore("Queue", {
|
||||
const next: Track = this.tracklist[nextindex];
|
||||
|
||||
// if track is already next, skip
|
||||
if (next?.id === track.id) {
|
||||
if (next?.trackhash === track.trackhash) {
|
||||
Toast.showNotification("Track is already queued", NotifType.Info);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user