mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 09:56:09 -05:00
Maintain current playlist ID in the player state
cur_plid is 0 if not playing a playlist and takes the playlist ID otherwise.
This commit is contained in:
@@ -39,6 +39,7 @@ struct player_status {
|
||||
|
||||
int volume;
|
||||
|
||||
uint32_t plid;
|
||||
uint32_t id;
|
||||
uint32_t pos_ms;
|
||||
int pos_pl;
|
||||
@@ -106,6 +107,9 @@ player_queue_add(struct player_source *ps);
|
||||
void
|
||||
player_queue_clear(void);
|
||||
|
||||
void
|
||||
player_queue_plid(uint32_t plid);
|
||||
|
||||
|
||||
void
|
||||
player_set_updatefd(int fd);
|
||||
|
||||
Reference in New Issue
Block a user