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 278f859..969990c 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 9494b0e..d40b5fa 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,