fix fetch_list method to correct output Array of results
diff --git a/lib/mpd_client.rb b/lib/mpd_client.rb
index a179c5e..8650678 100644
--- a/lib/mpd_client.rb
+++ b/lib/mpd_client.rb
@@ -8,6 +8,7 @@ ERROR_PREFIX = "ACK "
SUCCESS = "OK"
NEXT = "list_OK"
+# MPD changelog: http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS
# http://mpd.wikia.com/wiki/MusicPlayerDaemonCommands
COMMANDS = {
# Status Commands
@@ -240,6 +241,8 @@ class MPDClient
end
result << value
end
+
+ return result
end
def fetch_objects(delimeters = [])