[Pkg-mpd-commits] [python-mpd] 47/262: adding consume and single commands
Simon McVittie
smcv at debian.org
Sun May 22 18:16:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch upstream
in repository python-mpd.
commit e1d58548e70307cc5be7eb742d8dac70e78a1ad8
Author: J. Alexander Treuman <jat at spatialrift.net>
Date: Mon Jun 1 18:33:49 2009 -0400
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 <bool> -> getnone
crossfade <int> -> getnone
random <bool> -> getnone
repeat <bool> -> getnone
setvol <int> -> getnone
+single <bool> -> getnone
volume <int> -> 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,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git
More information about the Pkg-mpd-commits
mailing list