|
MPD
0.17~git
|
A queue of songs. More...
#include <queue.h>
Data Fields | |
| unsigned | max_length |
| configured maximum length of the queue | |
| unsigned | length |
| number of songs in the queue | |
| uint32_t | version |
| the current version number | |
| struct queue_item * | items |
| all songs in "position" order | |
| unsigned * | order |
| map order numbers to positions | |
| int * | id_to_position |
| map song ids to positions | |
| bool | repeat |
| repeat playback when the end of the queue has been reached? | |
| bool | single |
| play only current song. | |
| bool | consume |
| remove each played files. | |
| bool | random |
| play back songs in random order? | |
| GRand * | rand |
| random number generator for shuffle and random mode | |
A queue of songs.
This is the backend of the playlist: it contains an ordered list of songs.
Songs can be addressed in three possible ways:
| bool queue::consume |
| struct queue_item* queue::items |
| unsigned queue::length |
| unsigned queue::max_length |
| unsigned* queue::order |
| GRand* queue::rand |
| bool queue::random |
| bool queue::repeat |
| bool queue::single |
| uint32_t queue::version |
1.7.5.1