2012-10-28, 02:17 AM
mvallevand Wrote:My logic that adds should always have an advanced rulesThat code looks like it should result in a recurring recording with advanced rule. I guess the question is whether they ended up without the advanced rule immediately after that code, or did toricred do something to break them later (he did comment about possibly messing them up editing them).
Code:if (isNew == false)
{
string arule = "title like '" + title + "' and subtitle != '' and subtitle not in (select XmlLookup(event_details,'/Event/SubTitle') as subtitle from scheduled_recording where name like '" + title + "') ";
myRecording = helper.ScheduleRecording(ename, 0, start, end, 1, 2, DayMask.ANY, 0,
RecordingQuality.QUALITY_DEFAULT, arule);
}
else
{
string arule = "title like '" + title + "'";
myRecording = helper.ScheduleRecording(ename, 0, true, start, end, 1, 2, DayMask.ANY, 0,
RecordingQuality.QUALITY_DEFAULT, arule);
}
Is it possible there is a conflict using the only new recordings with an advanced rule?