nextSong
Version 1nextSong - moves to the next song in the playlist
Description
Void nextSong ( )nextSong() reads the current playing song's ID, adds one and moves to that song. If the new ID is greater than the length of the array, it jumps to the first entry. This can be problematic if you are extending the Mp3Jukebox class and delete any entries from the song array excluding the last. The next release will feature shifting and popping of the array to work around this.
See also: makePlaylist(), pause(), play(), prevSong(), stop()