Version 0.3.0-alpha1 - Youtube and Spotify support
This commit is contained in:
@@ -177,6 +177,16 @@ class List {
|
||||
}
|
||||
}
|
||||
|
||||
addNextPlaylist(playlist, firstAlreadyPlayed) {
|
||||
if(firstAlreadyPlayed) {
|
||||
playlist.songs.shift()
|
||||
}
|
||||
|
||||
for(const song of playlist.songs) {
|
||||
this.addNextSong(song)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user