aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-02-08 10:19:43 +0100
committerMax Kellermann <max@duempel.org>2010-02-08 11:11:43 +0100
commit059d1dc7f252f933ba1c6a9b69116d3eb53c9771 (patch)
tree8ca576486860e041023687df91376f9524afe008 /src/playlist_print.h
parent7fbb856eee2007570e776ddedf591de65f06aefb (diff)
downloadmpd-059d1dc7f252f933ba1c6a9b69116d3eb53c9771.tar.gz
mpd-059d1dc7f252f933ba1c6a9b69116d3eb53c9771.tar.xz
mpd-059d1dc7f252f933ba1c6a9b69116d3eb53c9771.zip
command: "listplaylist" dumps playlist files
Same for "listplaylistinfo".
Diffstat (limited to '')
-rw-r--r--src/playlist_print.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/playlist_print.h b/src/playlist_print.h
index bbb2e8adc..b3a0446ed 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