summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmpd.rb8
-rw-r--r--libmpd/playlist.rb8
2 files changed, 8 insertions, 8 deletions
diff --git a/libmpd.rb b/libmpd.rb
index 84e1c40..3bbf4c8 100644
--- a/libmpd.rb
+++ b/libmpd.rb
@@ -81,14 +81,6 @@ class MPD
return songs
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
-
# Find all songs in database with an exact match.
def find type, what
return split_and_hash send_request 'find %s "%s"' % [type, what]
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