From cfbc0ec1b2cf2952fa4a279cf5fc71c15bf56f23 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 27 Jun 2023 11:21:50 -0700 Subject: [PATCH] CGUIWindowHome: use AnnouncementFlagToString when logging Upstream: https://github.com/xbmc/xbmc/commit/3a20f5b67ff32cc3663e0ccd72941e666e8756a4 Upstream: https://github.com/xbmc/xbmc/pull/23571 Signed-off-by: Lukas Rusak Signed-off-by: Bernd Kuhls --- xbmc/windows/GUIWindowHome.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xbmc/windows/GUIWindowHome.cpp b/xbmc/windows/GUIWindowHome.cpp index c42e073c48..abc6cfc94d 100644 --- a/xbmc/windows/GUIWindowHome.cpp +++ b/xbmc/windows/GUIWindowHome.cpp @@ -78,7 +78,8 @@ void CGUIWindowHome::Announce(ANNOUNCEMENT::AnnouncementFlag flag, { int ra_flag = 0; - CLog::Log(LOGDEBUG, LOGANNOUNCE, "GOT ANNOUNCEMENT, type: {}, from {}, message {}", flag, sender, message); + CLog::Log(LOGDEBUG, LOGANNOUNCE, "GOT ANNOUNCEMENT, type: {}, from {}, message {}", + AnnouncementFlagToString(flag), sender, message); // we are only interested in library changes if ((flag & (ANNOUNCEMENT::VideoLibrary | ANNOUNCEMENT::AudioLibrary)) == 0) -- 2.39.2