- June 13, 2006
- 979
- 178
- Home Country
- Belgium
- Thread starter
- #71
Hi,
I've taken my hands off it again as my changes were indeed not correct. FYI: I've reverted to the old code in current SVN, but IMHO the determination of whether or not a schedule is due should be a whole lot different for PowerScheduler to ever work with these.
I don't want to duplicate code across several areas either and that's why I started working on it. But the way things are now, that routine is too much based on "is it on now?" which of course can never work with PS. So, unfortunately it looks like I'm gonna have to re-invent the wheel anyway, since PS only cares about correct wakeup times for recordings.
Kind regards,
Michel
Hmmmm... OK, I see.
In the TVDatabase BusinessLayer there's a GetRecordingTimes() method which returns a chronological list of all upcoming recordings. I don't know the first thing about how PowerScheduler works, but can't this be used to provide it with the correct wake-up times?