From e4a2e044d01ed6e0d964ffe0da2c62d15b0a425e Mon Sep 17 00:00:00 2001 From: Steve Erlenborn <1751095+SteveErl@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:05:29 -0600 Subject: [PATCH] Improved scheduler log messages (#969) The comparing message has been updated to specify both programs, and to show the channels for those programs. The "groupmplexid's" message has been updated to separate the words which have been smashed together. Resolves: #967 --- mythtv/programs/mythbackend/scheduler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp index 75a9dddcb4a..9b27ce8ec23 100644 --- a/mythtv/programs/mythbackend/scheduler.cpp +++ b/mythtv/programs/mythbackend/scheduler.cpp @@ -1095,7 +1095,9 @@ bool Scheduler::FindNextConflict( continue; if (debugConflicts) - msg = QString("comparing with '%1' ").arg(q->GetTitle()); + msg = QString("comparing '%1' on %2 with '%3' on %4") + .arg(p->GetTitle()).arg(p->GetChanNum()) + .arg(q->GetTitle()).arg(q->GetChanNum()); if (p->GetInputID() != q->GetInputID() && !ignoreinput) { @@ -1145,7 +1147,7 @@ bool Scheduler::FindNextConflict( { LOG(VB_SCHEDULE, LOG_INFO, msg); LOG(VB_SCHEDULE, LOG_INFO, - QString(" cardid's: [%1], [%2] Share an input group" + QString(" cardid's: [%1], [%2] Share an input group, " "mplexid's: %3, %4") .arg(p->GetInputID()).arg(q->GetInputID()) .arg(p->m_mplexId).arg(q->m_mplexId));