From 059d1dc7f252f933ba1c6a9b69116d3eb53c9771 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Feb 2010 10:19:43 +0100 Subject: command: "listplaylist" dumps playlist files Same for "listplaylistinfo". --- src/playlist_print.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/playlist_print.h') diff --git a/src/playlist_print.h b/src/playlist_print.h index bbb2e8ad..b3a0446e 100644 --- a/src/playlist_print.h +++ b/src/playlist_print.h @@ -101,4 +101,15 @@ playlist_print_changes_position(struct client *client, bool spl_print(struct client *client, const char *name_utf8, bool detail); +/** + * Send the playlist file to the client. + * + * @param client the client which requested the playlist + * @param uri the URI of the playlist file in UTF-8 encoding + * @param detail true if all details should be printed + * @return true on success, false if the playlist does not exist + */ +bool +playlist_file_print(struct client *client, const char *uri, bool detail); + #endif -- cgit v1.2.3