From e1d58548e70307cc5be7eb742d8dac70e78a1ad8 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Mon, 1 Jun 2009 18:33:49 -0400 Subject: [PATCH] adding consume and single commands --- doc/commands.txt | 2 ++ mpd.py | 2 ++ 2 files changed, 4 insertions(+) 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, -- 2.39.5