]> kaliko git repositories - python-musicpd.git/commitdiff
adding mixrampdb and mixrampdelay commands
authorJ. Alexander Treuman <jat@spatialrift.net>
Mon, 13 Dec 2010 22:53:48 +0000 (17:53 -0500)
committerJ. Alexander Treuman <jat@spatialrift.net>
Mon, 13 Dec 2010 22:53:48 +0000 (17:53 -0500)
doc/commands.txt
mpd.py

index 278f859fdecf24fc59e277e033c6b4d91f626440..969990c7ff8d126869eee868ee28b72cf8c816fa 100644 (file)
@@ -9,6 +9,8 @@ stats                                    -> fetch_object
 == Playback Option Commands
 consume          <bool>                  -> fetch_nothing
 crossfade        <int>                   -> fetch_nothing
+mixrampdb        <str>                   -> fetch_nothing
+mixrampdelay     <int>                   -> fetch_nothing
 random           <bool>                  -> fetch_nothing
 repeat           <bool>                  -> fetch_nothing
 setvol           <int>                   -> fetch_nothing
diff --git a/mpd.py b/mpd.py
index 9494b0e41d2fe1eea5e25f3e3c2037f23262200c..d40b5fab8791291db4e48b174fc97b29989533a8 100644 (file)
--- a/mpd.py
+++ b/mpd.py
@@ -67,6 +67,8 @@ class MPDClient(object):
             # Playback Option Commands
             "consume":          self._fetch_nothing,
             "crossfade":        self._fetch_nothing,
+            "mixrampdb":        self._fetch_nothing,
+            "mixrampdelay":     self._fetch_nothing,
             "random":           self._fetch_nothing,
             "repeat":           self._fetch_nothing,
             "setvol":           self._fetch_nothing,