PlayList Control

Methods Description
SearchForSongs Searches for songs recursively using the file extension and starting directory specified in the parameters. Builds a new list with the results.
UseExternalWindow

Creates an external window for the playlist

GetCurrentSong

Retrieves the full path of the current song

SelectNextSong

Selects the next song in the list

SetBkColor

Sets the window background color

SetTextColor

Sets the text foreground color

SetTextBkColor

Sets the text background color

ClearList

Clears the current list of songs

GetCurrentSongTitle

Retrieves the current song's title

SelectFirstSong

Selects the first song in the list

SelectPreviousSong

Selects the previous song in the list

SelectRandomSong

Selects a random song from the songs that have not been played yet.
If all the songs have been played, it starts over and randomly picks one of the songs.

CloseExternalWindow

Closes the external window if it exists.

GetNumberOfSongs

Retrieves the number of songs within the current list

Save

Saves the current list to file

Load

Loads a list from a file

GetCurrentSongIndex Retrieves the current song index within the list
   
Events Description
OnSelectionChanged This event fires whenever the song selection is changed

 

Moon Valley Software