Version 0.3.0-alpha1 - Youtube and Spotify support

This commit is contained in:
2025-02-28 19:21:47 +01:00
parent a060d00599
commit c8c8fd71be
22 changed files with 925 additions and 167 deletions

View File

@@ -177,6 +177,16 @@ class List {
}
}
addNextPlaylist(playlist, firstAlreadyPlayed) {
if(firstAlreadyPlayed) {
playlist.songs.shift()
}
for(const song of playlist.songs) {
this.addNextSong(song)
}
}