Commit f2d081ce3208b8c663db544bc109ce578e3bfc67

Andrei Don 2017-02-09T20:24:40

readcomments should use fetch_object instead of fetch_item

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/mpd_client.rb b/lib/mpd_client.rb
index 13aab25..8b28c7a 100644
--- a/lib/mpd_client.rb
+++ b/lib/mpd_client.rb
@@ -89,7 +89,7 @@ COMMANDS = {
   "searchaddp1"        => "fetch_nothing",
   "update"             => "fetch_item",
   "rescan"             => "fetch_item",
-  "readcomments"       => "fetch_item",
+  "readcomments"       => "fetch_object",
   # Mounts and neighbors
   "mount"              => "fetch_nothing",
   "unmount"            => "fetch_nothing",