X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/86214c4a61b9ab346d7c4b6a12c9825a13caf921..d42e98caaaf4f07c8d1252236f03eb68b8be4619:/python/disorder.py.in diff --git a/python/disorder.py.in b/python/disorder.py.in index e99f18b..e873e49 100644 --- 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) + def adopt(self, id): + """Adopt a randomly picked track""" + self._simple("adopt", id) + ######################################################################## # I/O infrastructure