Commit 3650ea96d6e0c885a085b33cadbf61b2037a77a9

Anton Maminov 2017-02-09T21:14:13

Merge pull request #5 from anddon/master 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",