Relying on my Request for Events (#22), I have the idea of implementing a playlist. Handy would probably come a loopsBeforeNext as well as a nextGap property, holding a number of loops and milliseconds of pause before the playlist continues.
A playlist feature would also introduce the following events:
onPlaylistNext - obvious, when the next song is played
onPlaylistPrevious - because there could be player controls
onPlaylistLast - on start of the last song in playlist
onPlaylistEnd - obvious, when playlist ran out
Relying on my Request for Events (#22), I have the idea of implementing a playlist. Handy would probably come a
loopsBeforeNextas well as anextGapproperty, holding a number of loops and milliseconds of pause before the playlist continues.A playlist feature would also introduce the following events:
onPlaylistNext- obvious, when the next song is playedonPlaylistPrevious- because there could be player controlsonPlaylistLast- on start of the last song in playlistonPlaylistEnd- obvious, when playlist ran out