fix(mpd): Update on MPD_IDLE_QUEUE events
MPD_IDLE_PLAYLIST is deprecated since 2009, it has the same value as MPD_IDLE_QUEUE, so we are now using that
This commit is contained in:
parent
645a3142a1
commit
6ed4838738
@ -374,7 +374,7 @@ namespace mpd {
|
|||||||
* Only update if either the player state (play, stop, pause, seek, ...), the options (random, repeat, ...),
|
* Only update if either the player state (play, stop, pause, seek, ...), the options (random, repeat, ...),
|
||||||
* or the playlist has been changed
|
* or the playlist has been changed
|
||||||
*/
|
*/
|
||||||
if (connection == nullptr || !static_cast<bool>(event & (MPD_IDLE_PLAYER | MPD_IDLE_OPTIONS | MPD_IDLE_PLAYLIST))) {
|
if (connection == nullptr || !static_cast<bool>(event & (MPD_IDLE_PLAYER | MPD_IDLE_OPTIONS | MPD_IDLE_QUEUE))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user