summaryrefslogtreecommitdiffstats
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index fba9b6f4bb..133820ebc4 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -2776,7 +2776,10 @@ int playlist_set_current(struct playlist_info* playlist)
return 0;
}
-
+struct playlist_info *playlist_get_current(void)
+{
+ return &current_playlist;
+}
/*
* Close files and delete control file for non-current playlist.
*/