X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/eea34c085e661c3315196e2e6f5bd73fab8fdbe0..00861dcb1b67a282893f3d30187459c6384cbee7:/lib/client-stubs.h diff --git a/lib/client-stubs.h b/lib/client-stubs.h index 8182213..13f0724 100644 --- a/lib/client-stubs.h +++ b/lib/client-stubs.h @@ -203,6 +203,16 @@ int disorder_part(disorder_client *c, const char *track, const char *context, co */ int disorder_pause(disorder_client *c); +/** @brief Play a track + * + * Requires the 'play' right. + * + * @param track Track to play + * @param idp Queue ID of new track + * @return 0 on success, non-0 on error + */ +int disorder_play(disorder_client *c, const char *track, char **idp); + /** @brief Delete a playlist * * Requires the 'play' right and permission to modify the playlist.