From ac1c462f3ced63ff988c52ec14cbd7105d237a3e Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 23 Jul 2009 22:57:55 -0700 Subject: Forgot a method in the last commit. --- libmpd/playlist.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmpd/playlist.rb') diff --git a/libmpd/playlist.rb b/libmpd/playlist.rb index 9445625..e7d1b32 100644 --- a/libmpd/playlist.rb +++ b/libmpd/playlist.rb @@ -19,4 +19,12 @@ module MPDPlaylist def clear return send_request 'clear' end + + # Returns an Array composed of Hashes containing information about the songs + # in the playlist. + # + # Not yet complete. + def playlistinfo + return split_and_hash send_request 'playlistinfo' + end end -- cgit v1.2.3-70-g09d2