]> kaliko git repositories - python-musicpd.git/blobdiff - musicpd.py
Add getvol command (closes #9)
[python-musicpd.git] / musicpd.py
index df2c923560c01bf5484d4aec78a59726fd960e0b..82a60854c85c7ba1c30a57952d2f698a184dc29a 100644 (file)
@@ -173,6 +173,7 @@ class MPDClient:
             "random":             self._fetch_nothing,
             "repeat":             self._fetch_nothing,
             "setvol":             self._fetch_nothing,
+            "getvol":             self._fetch_object,
             "single":             self._fetch_nothing,
             "replay_gain_mode":   self._fetch_nothing,
             "replay_gain_status": self._fetch_item,