summaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/player.h b/src/player.h
index afe580b..87d9734 100644
--- a/src/player.h
+++ b/src/player.h
@@ -36,9 +36,14 @@ struct player {
/* TODO move implementation details to source file */
struct mpd_connection *conn;
+ /* TODO combine with index */
+ /* for navigating forward and backwards in time */
struct link queue;
struct link history;
+ /* list of track refs to choose from on prev / next */
+ struct link playlist;
+
/* last player track */
struct track *track;
@@ -49,15 +54,11 @@ struct player {
/* stopped, paused or playing */
int state;
- /* TODO: replace with JIT solution */
- /* track to play when queue is empty
- * and player_next is called */
- struct track *next;
-
- /* automatically start playing player->next
- * when queue is empty */
+ /* automatically select new tracks when queue empty */
int autoplay;
+ int shuffle;
+
int action;
/* number of frames to wait before unpausing after