diff --git a/src/status.cpp b/src/status.cpp index e784ddb5..e45db1fb 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -519,8 +519,11 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *) } if (changed.DBUpdating) { - mpd_db_updating = Mpd.GetDBIsUpdating() ? 'U' : 0; - ShowMessage(!mpd_db_updating ? "Database update finished!" : "Database update started!"); + // mpd-0.{14,15} doesn't support idle notification that dbupdate had + // finished and nothing changed, so we need to switch it off for them. + if (Mpd.Version() < 14 || Mpd.Version() > 15) + mpd_db_updating = Mpd.GetDBIsUpdating() ? 'U' : 0; + ShowMessage(Mpd.GetDBIsUpdating() ? "Database update finished!" : "Database update started!"); } if (changed.StatusFlags && (Config.header_visibility || Config.new_design)) {