Class: MPD::Commands::PlaylistInfo
- Defined in:
- lib/mpd/commands/playlist_info.rb
Overview
Info about songs in specific playlist. MPD command: “listplaylistinfo <NAME>”
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
-
#execute(name) ⇒ Object
‘songs` can be range or integer (to show info about one song) or completely ommited (to show info about all songs).
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from MPD::Commands::Abstract
Instance Method Details
#execute(name) ⇒ Object
‘songs` can be range or integer (to show info about one song) or completely ommited (to show info about all songs)
13 14 15 16 |
# File 'lib/mpd/commands/playlist_info.rb', line 13 def execute(name) response = super("listplaylistinfo \"#{name}\"") Playlist.from_response(response) end |