X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/7bef40aefd85afe68aef3ebd466e5e50ae3251a1..eff6238fcaa690773dc292816fa47b8767efa00c:/lib/client.c diff --git a/lib/client.c b/lib/client.c index 0fc4827..5884e48 100644 --- a/lib/client.c +++ b/lib/client.c @@ -775,22 +775,6 @@ int disorder_log(disorder_client *c, struct sink *s) { return 0; } -/** @brief Get recently added tracks - * @param c Client - * @param vecp Where to store pointer to list (UTF-8) - * @param nvecp Where to store count - * @param max Maximum tracks to fetch, or 0 for all available - * @return 0 on success, non-0 on error - */ -int disorder_new_tracks(disorder_client *c, - char ***vecp, int *nvecp, - int max) { - char limit[32]; - - sprintf(limit, "%d", max); - return disorder_simple_list(c, vecp, nvecp, "new", limit, (char *)0); -} - /** @brief Get server's RTP address information * @param c Client * @param addressp Where to store address (UTF-8)