X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..e81e4e8d1c49737e12e3ca5dba36fd1453f447bb:/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