aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 238502fee..9d1f4f5b4 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -132,6 +132,12 @@ void finishPlaylist(void)
g_rand = NULL;
}
+const struct queue *
+playlist_get_queue(void)
+{
+ return &playlist.queue;
+}
+
void clearPlaylist(void)
{
stopPlaylist();