chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More commands.
[disorder]
/
lib
/
client-stubs.h
diff --git
a/lib/client-stubs.h
b/lib/client-stubs.h
index 19649ac37d3a3f491cbc2c1b4533d3a49fa00109..8a4ece51d7fa44600093536b11177d19d8e086e3 100644
(file)
--- a/
lib/client-stubs.h
+++ b/
lib/client-stubs.h
@@
-281,6
+281,16
@@
int disorder_play(disorder_client *c, const char *track, char **idp);
*/
int disorder_playafter(disorder_client *c, const char *target, char **tracks, int ntracks);
*/
int disorder_playafter(disorder_client *c, const char *target, char **tracks, int ntracks);
+/** @brief Retrieve the playing track
+ *
+ *
+ *
+ * @param c Client
+ * @param playingp Details of the playing track
+ * @return 0 on success, non-0 on error
+ */
+int disorder_playing(disorder_client *c, struct queue_entry **playingp);
+
/** @brief Delete a playlist
*
* Requires the 'play' right and permission to modify the playlist.
/** @brief Delete a playlist
*
* Requires the 'play' right and permission to modify the playlist.