summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/playlist.c b/playlist.c
index 24a88729..e4cdaa96 100644
--- a/playlist.c
+++ b/playlist.c
@@ -2115,9 +2115,8 @@ pl_select_all (void) {
GLOBAL_UNLOCK;
}
-
void
-pl_reshuffle (playItem_t **ppmin, playItem_t **ppmax) {
+plt_reshuffle (playlist_t *playlist, playItem_t **ppmin, playItem_t **ppmax) {
GLOBAL_LOCK;
playItem_t *pmin = NULL;
playItem_t *pmax = NULL;
@@ -2141,6 +2140,11 @@ pl_reshuffle (playItem_t **ppmin, playItem_t **ppmax) {
}
void
+pl_reshuffle (playItem_t **ppmin, playItem_t **ppmax) {
+ plt_reshuffle (playlist, ppmin, ppmax);
+}
+
+void
pl_delete_all_meta (playItem_t *it) {
LOCK;
while (it->meta) {