[mpd] Expose queue-item-id instead of dbmfi-id in mpd commands

[player] Reshuffle on end of playlist and repeat mode is "repeat all"
This commit is contained in:
chme
2015-09-19 08:23:41 +02:00
parent cb2805800b
commit a06424a701
5 changed files with 29 additions and 21 deletions

View File

@@ -51,8 +51,10 @@ struct player_status {
uint32_t plversion;
/* Playlist length */
uint32_t playlistlength;
/* Playing song id*/
/* Id of the playing file/item in the files database */
uint32_t id;
/* Item-Id of the playing file/item in the queue */
uint32_t queueitem_id;
/* Elapsed time in ms of playing item */
uint32_t pos_ms;
/* Length in ms of playing item */
@@ -61,6 +63,8 @@ struct player_status {
int pos_pl;
/* Item id of next item in playlist */
uint32_t next_id;
/* Item-Id of the next file/item in the queue */
uint32_t next_queueitem_id;
/* Playlist position of next item */
int next_pos_pl;
};