NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 72 73 74 75 76 … 93 Next »
Changing ScheduledRecording Quality

 
  • 0 Vote(s) - 0 Average
Changing ScheduledRecording Quality
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#1
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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#2
2004-11-15, 05:53 AM
You'll be able to use this API to do this in the next release.
PVR(SWE)
Offline

Junior Member

Posts: 40
Threads: 3
Joined: May 2004
#3
2004-11-15, 03:52 PM
When will the next release come?
It's like waiting for X-masSmile
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#4
2004-11-15, 04:07 PM
Hopefully in about a week.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#5
2004-11-16, 02:40 PM
Will this modification allow us to update the pre/post padding of a scheduled program too?
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#6
2004-11-16, 04:21 PM
yes.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#7
2004-11-28, 09:50 PM
I tried using scheduleHelper.UpdateScheduleRecording(thisShow.scheduledRecording);

And the complier gives the error 'GBPVR.Backend.Common.ScheduleHelper' does not contain a definition for 'UpdateScheduleRecording'

I see that it is defined in the iScheduleHelper interface in GBPVR.Public.

How do I get to the correct version?

Thanks

Jeff
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#8
2004-11-28, 10:09 PM
Are you definitely referencing the version GBPVRBackendCommon.dll that came with the newest release of GB-PVR?
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#9
2005-04-27, 04:18 PM
Hi,

I have also played around with the ScheduleHelper class, and I can't find the "UpdateScheduleRecording"-method, too.

"SheduleRecording" works fine, but I can't adjust the pre- and postpadding attibutes. As a workaround, I'm directly accessing the database, but it would be much easier with a "UpdateScheduleRecording".

I'm using the latest versions of both GBPVR.Public and GBPVR.Backend.Common.

-alibert
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#10
2005-04-27, 05:33 PM
Alilbert, you need to use the ISheduleRecording interface, instead of the SheduleRecording class. The UpdateScheduledRecording method is there.

Something like

ISheduleRecording scheduledRecording = new SheduledRecording()

should work.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing the recording priority on recurring recordings cbgifford 4 3,839 2014-08-17, 03:13 PM
Last Post: Kiwi
  Changing recording schedules on the fly. mvallevand 2 1,947 2011-09-06, 03:30 AM
Last Post: BrettB
  A list of changing images McBainUK 1 1,867 2011-06-21, 04:36 PM
Last Post: sub
  Changing skin font or colour mvallevand 30 7,134 2010-07-23, 02:20 PM
Last Post: whurlston
  Changing channel from a plugin Snarky 9 2,794 2006-09-20, 07:05 PM
Last Post: Snarky
  Changing colours of a bitmap/image? bgowland 7 2,827 2006-07-12, 02:54 PM
Last Post: bgowland
  changing the OSD size? reven 5 2,518 2006-03-23, 05:32 AM
Last Post: sub
  changing "ScheduleProgrammePopupBackground" in "Recordings" reven 12 3,830 2006-02-22, 10:47 PM
Last Post: Old Dog
  "Approved" way of having a changing a screen value psycik 7 2,729 2006-01-10, 09:25 PM
Last Post: psycik
  Changing the color of the timeline indicator...tv guide? Mtlca401 0 1,171 2006-01-09, 07:39 PM
Last Post: Mtlca401

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode