2005-04-28, 06:47 AM
Thanks a lot KingArgyle, i got it to work with this code:
One more question:
What does "GROUP_ALLOCATE" mean? Will it try to put the recording in a group or create a group in the recordings when it is the only show with the same title?
-alibert
Code:
IScheduleHelper sh = ScheduleHelper.getInstance();
ScheduledRecording recording = sh.SheduleRecording(
program.getChannelOID(),
program.getStartTime(),
program.getEndTime(),
program,
GBPVR.Public.ScheduledRecording.TYPE_RECORD_ONCE,
GBPVR.Public.ScheduledRecording.GROUP_ALLOCATE,
"");
recording.setPrePadMinutes(prePadding);
recording.setPostPadMinutes(postPadding);
recording.setQualitySetting(GBPVR.Public.ScheduledRecording.QUALITY_HIGH);
sh.UpdateScheduledRecording(recording);
One more question:
What does "GROUP_ALLOCATE" mean? Will it try to put the recording in a group or create a group in the recordings when it is the only show with the same title?
-alibert