2006-03-04, 08:38 PM
KingArgyle Wrote:The problem is that those interfaces are pretty low level interfaces tied directly to GBPVR and aren't abstracted really to their functionality. I was thinking of interfaces that worked something like the following:
public bool Once(Program programObject)
public bool ThisTimeSlot(Program programObject)
public bool AnyTimeSlot(Program programObject)
public bool ThisDayOnly(Program programObject)
public bool AnyDay(Program programObject)
public bool SpecificDays(Program programObject, IList DaysOfWeek)
Then within these methods would be the specific code for each scheduler to implement. This allows for the pages to remain the same, and is up to each scheduler to implement the correct interface to the back end system. The program object should contain all the necessary information needed for the type of scheduling being choosen. It keeps the GBPVR specific information out of it, and abstracts it to the task that is trying to be accomplished.
Plus this should make standardizing the coding for scheduling across the different pages more efficient, as the code for actually scheduling is implemented in one place and updates to one will propogate to the others. Right now the Search and the Scheduling pages use different code to schedule a recording.
I think I could toy around with this idea....it won't be in the next release though.....I just shipped the updated code to have the next release put out so that people can start using the new scheduling features and genre filtering that I added...I wouldn't want to hold that up....people have been waiting patiently...
If I have questions I'll PM you...
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's