Module: MPD::Plugins::Playlists
- Included in:
- MPD
- Defined in:
- lib/ruby-mpd/plugins/playlists.rb
Overview
These commands manipulate stored playlists.
Changes: listplaylists -> playlists.
Instance Method Summary collapse
-
#playlists ⇒ Array<Hash>
List all of the playlists in the database.
Instance Method Details
#playlists ⇒ Array<Hash>
List all of the playlists in the database
11 12 13 |
# File 'lib/ruby-mpd/plugins/playlists.rb', line 11 def playlists send_command(:listplaylists).map {|opt| MPD::Playlist.new(self, opt)} end |