summaryrefslogtreecommitdiff
path: root/libmpd/playlist.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 22:57:55 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 22:57:55 -0700
commitac1c462f3ced63ff988c52ec14cbd7105d237a3e (patch)
treedf2a9fc640d4bb6eca4fe69d7d73926e9d3e2fce /libmpd/playlist.rb
parenta3b7470f0964fbb175aeb32713037ab64831fadb (diff)
downloadruby-libmpd-ac1c462f3ced63ff988c52ec14cbd7105d237a3e.tar.gz
ruby-libmpd-ac1c462f3ced63ff988c52ec14cbd7105d237a3e.tar.xz
Forgot a method in the last commit.
Diffstat (limited to 'libmpd/playlist.rb')
-rw-r--r--libmpd/playlist.rb8
1 files changed, 8 insertions, 0 deletions
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