Don't play the same song twice
This commit is contained in:
parent
957733a4e1
commit
e0833baaee
1 changed files with 1 additions and 1 deletions
|
@ -2467,7 +2467,7 @@ const app = new Vue({
|
|||
shuffleArray(u)
|
||||
} else {
|
||||
for (let i = 0; i < app.showingPlaylist.relationships.tracks.data.length; i++) {
|
||||
if (app.showingPlaylist.relationships.tracks.data[i].id == item.id) u.splice(0, i);
|
||||
if (app.showingPlaylist.relationships.tracks.data[i].id == item.id) u.splice(0, i+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue