2011-01-23, 01:16 AM
UncleJohnsBand Wrote:The only method I see in the Ischedulehelper api that lets me pass in an advanced rule is: ScheduleRecording(string name, int channelOID, System.DateTime startTime, System.DateTime endTime, int prePadding, int postPadding, NUtility.DayMask dayMask, int keepCount, NUtility.RecordingQuality quality, string advancedRules)Yes, thats the API I called.
Quote:Is this the method I should be using to set one of these anyday, anytime any channel as well as other combinations thisday, thistime anychannel & anyday, thistime, anychannel & thisday, anytime, anychannel ?Something like:
string advancedRules = "title like '" + epgEvent.Title + "%'";
ScheduleRecording(epgEvent.Title, 0 /* all channels */, epgEvent.StartTime, epgEvent.EndTime, prePadding, postPadding, DayMask.ANY, 0, recordingQuality, advancedRules);