class MPD::Commands::CurrentPlaylistInfo
Info about songs in current playlist
Public Instance Methods
execute(songs = nil)
click to toggle source
`songs` can be range or integer (to show info about one song) or completely ommited (to show info about all songs)
Calls superclass method
MPD::Commands::Abstract#execute
# File lib/mpd/commands/current_playlist_info.rb, line 12 def execute(songs = nil) response = super("playlistinfo #{resolve_range(songs)}") Playlist.from_response(response) end