chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uniform audio command back end now rate limited.
[disorder]
/
python
/
disorder.py.in
diff --git
a/python/disorder.py.in
b/python/disorder.py.in
index e99f18b7d51d478752105e7456cd14e41d60d033..e873e49c76387ba627cd7d5db5bb92748530996c 100644
(file)
--- a/
python/disorder.py.in
+++ b/
python/disorder.py.in
@@
-905,6
+905,10
@@
class client:
"""Add a scheduled event"""
self._simple("schedule-add", str(when), priority, action, *rest)
"""Add a scheduled event"""
self._simple("schedule-add", str(when), priority, action, *rest)
+ def adopt(self, id):
+ """Adopt a randomly picked track"""
+ self._simple("adopt", id)
+
########################################################################
# I/O infrastructure
########################################################################
# I/O infrastructure