From: J. Alexander Treuman Date: Mon, 1 Jun 2009 22:33:49 +0000 (-0400) Subject: adding consume and single commands X-Git-Tag: v0.3.0~36 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=e1d58548e70307cc5be7eb742d8dac70e78a1ad8;p=python-musicpd.git adding consume and single commands --- diff --git a/doc/commands.txt b/doc/commands.txt index 85a8589..cd6e183 100644 --- a/doc/commands.txt +++ b/doc/commands.txt @@ -7,10 +7,12 @@ status -> getobject stats -> getobject == Playback Option Commands +consume -> getnone crossfade -> getnone random -> getnone repeat -> getnone setvol -> getnone +single -> getnone volume -> getnone == Playback Control Commands diff --git a/mpd.py b/mpd.py index ade41a6..fdba8ba 100644 --- a/mpd.py +++ b/mpd.py @@ -59,10 +59,12 @@ class MPDClient(object): "status": self._getobject, "stats": self._getobject, # Playback Option Commands + "consume": self._getnone, "crossfade": self._getnone, "random": self._getnone, "repeat": self._getnone, "setvol": self._getnone, + "single": self._getnone, "volume": self._getnone, # Playback Control Commands "next": self._getnone,