class PlayList

The PlayList class holds a list of music files to be played by the music module. The list can optionally be set to repeat and to play in a random order.


PlayList(items, random = False, repeat = False)
Constructs a PlayList from a list of music file pathnames.


If true, items will be played in a random order. Otherwise, they will be played in the order they were supplied to the constructor.

If true, the list will be repeated indefinitely. Otherwise, each item will only be played once.