X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..2a3fcff17b9844f7799c547c795a8ca811d1f794:/python/disorder.py.in?ds=sidebyside 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