2004-11-15, 02:35 AM
Sub, is there anyway to change a ScheduledRecording's default quality through the plugin API?
I'm playing around with the following code:
ScheduleHelper scheduleHelper = ScheduleHelper.getInstance();
ScheduledRecording scheduledRecording = scheduleHelper.SheduleRecording(program.getChannelOID(), program.getStartTime(), program.getEndTime(), program, GBPVR.Public.ScheduledRecording.TYPE_RECORD_ONCE, GBPVR.Public.ScheduledRecording.GROUP_NONE, null);
scheduledRecording.setQualitySetting(quality);
I can set the Quality, but I don't see an easy way to update an existing ScheduledRecording in the database, short of canceling it and then rescheduling it (which would miss my Quality Setting because scheduleHelper.ScheduleRecording() doesn't accept a quality parameter.
I'd like to give the optin on Manage recordings, to change the Quality setting a scheduled recording has through the Web UI.
I'm playing around with the following code:
ScheduleHelper scheduleHelper = ScheduleHelper.getInstance();
ScheduledRecording scheduledRecording = scheduleHelper.SheduleRecording(program.getChannelOID(), program.getStartTime(), program.getEndTime(), program, GBPVR.Public.ScheduledRecording.TYPE_RECORD_ONCE, GBPVR.Public.ScheduledRecording.GROUP_NONE, null);
scheduledRecording.setQualitySetting(quality);
I can set the Quality, but I don't see an easy way to update an existing ScheduledRecording in the database, short of canceling it and then rescheduling it (which would miss my Quality Setting because scheduleHelper.ScheduleRecording() doesn't accept a quality parameter.
I'd like to give the optin on Manage recordings, to change the Quality setting a scheduled recording has through the Web UI.