#include <playlist.h>
Data Fields | |
struct queue | queue |
The song queue - it contains the "real" playlist. | |
bool | playing |
This value is true if the player is currently playing (or should be playing). | |
bool | stop_on_error |
If true, then any error is fatal; if false, MPD will attempt to play the next song on non-fatal errors. | |
unsigned | error_count |
Number of errors since playback was started. | |
int | current |
The "current song pointer". | |
int | queued |
The "next" song to be played, when the current one finishes. | |
GTimer * | prev_elapsed |
This timer tracks the time elapsed since the last "prev" command. |
Definition at line 44 of file playlist.h.
The "current song pointer".
This is the song which is played when we get the "play" command. It is also the song which is currently being played.
Definition at line 75 of file playlist.h.
unsigned playlist::error_count |
Number of errors since playback was started.
If this number exceeds the length of the playlist, MPD gives up, because all songs have been tried.
Definition at line 68 of file playlist.h.
bool playlist::playing |
This value is true if the player is currently playing (or should be playing).
Definition at line 54 of file playlist.h.
GTimer* playlist::prev_elapsed |
This timer tracks the time elapsed since the last "prev" command.
If that is less than one second ago, "prev" jumps to the previous song instead of rewinding the current song.
Definition at line 91 of file playlist.h.
struct queue playlist::queue |
The song queue - it contains the "real" playlist.
Definition at line 48 of file playlist.h.
int playlist::queued |
The "next" song to be played, when the current one finishes.
The decoder thread may start decoding and buffering it, while the "current" song is still playing.
This variable is only valid if playing is true.
Definition at line 84 of file playlist.h.
If true, then any error is fatal; if false, MPD will attempt to play the next song on non-fatal errors.
During seeking, this flag is set.
Definition at line 61 of file playlist.h.