module MPD::Plugins::Playlists

These commands manipulate stored playlists.

Public Instance Methods

playlists() click to toggle source

List all of the playlists in the database

@return [Array<MPD::Playlist>] Array of playlists

# File lib/ruby-mpd/plugins/playlists.rb, line 9
def playlists
  send_command(:listplaylists).map { |opt| MPD::Playlist.new(self, opt) }
end