]> Untitled Git - mpdstream/commitdiff
Add warning for empty idle event
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 1 Apr 2026 23:18:04 +0000 (19:18 -0400)
committerHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 1 Apr 2026 23:38:25 +0000 (19:38 -0400)
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
src/main.c

index 9e21a5b4b35b36c802634d14e6c6b7db06f61110..8cf0d0a1d7f34042dbe0ee7b45e67c9fce932ec3 100644 (file)
@@ -184,6 +184,7 @@ main(int argc, char **argv)
                mask = mpd_run_idle_mask(mpdc, MPD_IDLE_PLAYER);
                if (mask == 0) {
                        (void) mpd_check_for_error();
+                       log_warn("Empty idle event");
                        continue; /* Or abort/break? */
                }