aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/playlist.h b/src/playlist.h
index a2531963b..443f4222d 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -20,6 +20,7 @@
#define MPD_PLAYLIST_H
#include "locate.h"
+#include "queue.h"
#include <stdbool.h>
#include <stdio.h>
@@ -43,18 +44,10 @@ enum playlist_result {
};
typedef struct _Playlist {
- struct song **songs;
- /* holds version a song was modified on */
- uint32_t *songMod;
- unsigned *order;
- unsigned *positionToId;
- int *idToPosition;
- unsigned length;
+ struct queue queue;
+
int current;
int queued;
- bool repeat;
- bool random;
- uint32_t version;
} Playlist;
extern bool playlist_saveAbsolutePaths;