Skip to content

Commit

Permalink
Improved scheduler log messages (MythTV#969)
Browse files Browse the repository at this point in the history
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: MythTV#967
  • Loading branch information
SteveErl authored Nov 13, 2024
1 parent d5e4984 commit e4a2e04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mythtv/programs/mythbackend/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit e4a2e04

Please sign in to comment.