mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
Include playlist ID in nowplaying
This commit is contained in:
parent
98aaa7c5fa
commit
ec1fc46c01
@ -167,7 +167,10 @@ dacp_nowplaying(struct evbuffer *evbuf, struct player_status *status, struct med
|
||||
|
||||
canp[3] = 1; /* 0-3 database ID */
|
||||
|
||||
/* 4-7 playlist ID FIXME */
|
||||
canp[4] = (status->plid >> 24) & 0xff;
|
||||
canp[5] = (status->plid >> 16) & 0xff;
|
||||
canp[6] = (status->plid >> 8) & 0xff;
|
||||
canp[7] = status->plid & 0xff;
|
||||
|
||||
canp[8] = (status->pos_pl >> 24) & 0xff; /* 8-11 position in playlist */
|
||||
canp[9] = (status->pos_pl >> 16) & 0xff;
|
||||
|
Loading…
Reference in New Issue
Block a user