diff options
-rw-r--r-- | libmpd/playlist.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpd/playlist.rb b/libmpd/playlist.rb index 2b40ce4..6266e46 100644 --- a/libmpd/playlist.rb +++ b/libmpd/playlist.rb @@ -26,16 +26,16 @@ module MPDPlaylist return send_request(command).scan(/(?!Id: )\d+/).first.to_i end - # Deletes a song from the playlist. - def delete(songpos) - return send_request('delete %s' % songpos) - end - # Clears the playlist. def clear return send_request('clear') end + # Deletes a song from the playlist. + def delete(songpos) + return send_request('delete %s' % songpos) + end + # Returns an Array composed of Hashes containing information about the songs # in the playlist. def playlist |