X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..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