Playlist

A playlist of music

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addMusic
void addMusic(Music music)

Add Music to the playlist

addMusicFrom
void addMusicFrom(string path)

Adds all .ogg files that could be found in a path recursively

isCurrentSongPlaying
bool isCurrentSongPlaying()

Gets whether the current song is playing

next
void next()

Play next song

play
void play()

Play the playlist

stop
void stop()

Stop music from playing

update
void update()

Updates the playlist

Variables

onSongChange
Event!AudioInfo onSongChange;

Event called when song changes

repeatOne
bool repeatOne;

Repeat a single song

shuffle
bool shuffle;

Shuffle songs

Meta