Net_MPD_Common | --Net_MPD_Playlist
Used for maintaining, creating, and utilizing playlists in MPD
bool addSong( $file $file)
bool clear( )
true deletePlaylist( $playlist $playlist)
bool deleteSong( $song $song)
bool deleteSongId( $id $id)
array getChanges( $version $version, [$limit $limit = false])
array getCurrentSong( )
array getPlaylistInfo( [$song $song = null])
array getPlaylistInfoId( [$song $song = null])
bool getPlaylists( [$dir $dir = ''])
bool loadPlaylist( $playlist $playlist)
bool moveSong( $from $from, $to $to)
bool moveSongId( $from $fromId, $to $toId)
bool savePlaylist( $playlist $playlist)
true shuffle( )
bool swapSong( $song1 $song1, $song2 $song2)
true swapSongId( $song1 $songId1, $song2 $songId2)