I have had issues with recordings being scheduled on channels that due to a mis-configuration have no card mapped to them. I missed a couple of these initially as the icon was the same as a normal not enough cards to record simultaneous programs icon. I have modified ArgusTV.WinForms/ProgramIconUtility.cs:GetRecordingIconAndToolTip to:
Code: Select all
private static void GetRecordingIconAndToolTip(UpcomingOrActiveProgramsList upcomingRecordings,
UpcomingCancellationReason cancellationReason, bool isPartOfSeries, UpcomingRecording recording,
out Icon icon, out string toolTip)
{
toolTip = null;
if (cancellationReason == UpcomingCancellationReason.Manual)
{
icon = isPartOfSeries ? Properties.Resources.RecordSeriesCancelledIcon : Properties.Resources.RecordCancelledIcon;
}
else if (cancellationReason == UpcomingCancellationReason.PreviouslyRecorded
|| cancellationReason == UpcomingCancellationReason.AlreadyQueued)
{
icon = isPartOfSeries ? Properties.Resources.RecordSeriesCancelledHistoryIcon : Properties.Resources.RecordCancelledHistoryIcon;
}
else
{
if (recording != null && recording.CardChannelAllocation == null && recording.ConflictingPrograms.Count == 0)
{
icon = (isPartOfSeries ? Properties.Resources.AlertSeriesIcon : Properties.Resources.AlertIcon);
toolTip = CreateConflictingProgramsToolTip(upcomingRecordings, recording.ConflictingPrograms);
}
else if (recording != null && recording.CardChannelAllocation == null)
{
icon = (isPartOfSeries ? Properties.Resources.RecordSeriesInConflictIcon : Properties.Resources.RecordInConflictIcon);
toolTip = CreateConflictingProgramsToolTip(upcomingRecordings, recording.ConflictingPrograms);
}
else if (recording != null && recording.ConflictingPrograms.Count > 0)
{
icon = (isPartOfSeries ? Properties.Resources.RecordSeriesWithWarningIcon : Properties.Resources.RecordWithWarningIcon);
toolTip = CreateConflictingProgramsToolTip(upcomingRecordings, recording.ConflictingPrograms);
}
else
{
icon = GetIcon(ScheduleType.Recording, isPartOfSeries);
}
}
}
Code: Select all
From a9e4a1cf65bddc59033d36cb9ea891027bf9c2b8 Mon Sep 17 00:00:00 2001
From: Graeme Thompson <thompson.graeme@yahoo.co.uk>
Date: Sun, 17 Feb 2013 21:30:36 +0000
Subject: [PATCH] Updated icon shown when there is no card mapped to be able
to record the program to full alert.
---
ArgusTV.WinForms/ProgramIconUtility.cs | Bin 11428 -> 12236 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/ArgusTV.WinForms/ProgramIconUtility.cs b/ArgusTV.WinForms/ProgramIconUtility.cs
index 2094b16872dd2e87946d483b52a5c583fd3a959a..ff695aa4634a9966e4e5c5b40232cb328ed5a53b 100644
GIT binary patch
delta 37
tcmZ1yc_w~Cmhxl~Wx2_EYDUbq47QUK)wWJv!<(>qnMw!aW+UYyP5}R34Cnv=
delta 12
TcmX>Tza(-)mh$FFYF3;8CnyCJ
--
1.8.0.msysgit.0
Screenshot:
Hope this is useful.
Graeme