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:
patrick96 2017-12-27 16:48:24 +01:00 committed by Patrick Ziegler
parent 645a3142a1
commit 6ed4838738

View File

@ -374,7 +374,7 @@ namespace mpd {
* Only update if either the player state (play, stop, pause, seek, ...), the options (random, repeat, ...),
* 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;
}