Method: MPD::Plugins::Queue#queue
- Defined in:
- lib/ruby-mpd/plugins/queue.rb
#queue(limit = nil) ⇒ Array<MPD::Song>
List the current playlist/queue. An Integer or Range can be used to limit the information returned to a specific subset.
or a single song.
14 15 16 |
# File 'lib/ruby-mpd/plugins/queue.rb', line 14 def queue(limit=nil) build_songs_list send_command(:playlistinfo, limit) end |