chiark / gitweb /
More commands.
[disorder] / lib / client-stubs.h
index 19649ac37d3a3f491cbc2c1b4533d3a49fa00109..8a4ece51d7fa44600093536b11177d19d8e086e3 100644 (file)
@@ -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);
 
+/** @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.