MediaPortal Version: SVN 20.3.2007
MediaPortal Skin:
Windows Version:
CPU Type:
HDD:
Memory:
Motherboard:
Motherboard Chipset:
Motherboard Bios:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:
I maybe found some bugs in the TVServer-PowerScheduler.
--
Scenario 1:
In NextWakeUpTime, the earliest wakeup time is _lastIdleTime + IdleTimeout. Assume the system was idle for 2 minutes and IdleTimeout is set to 8 minutes. The next recordng wants to start in 5 minutes. When the user tries to hibernate the system, _idle is true and OnPowerEvent does not block the QuerySuspend request. The system is going to hibernation and misses the recording since the next recording wants to start prior to earliest wakeup time (which is not allowed in NextWakeUpTime).
Scenario 2:
The system was idle for 2 minutes and IdleTimeout is set to 8 minutes. The next recording wants to start in 8 minutes and 1 second. Just when the system is about to shutdown, the timer is raised, but may not be fast enough to unset _idle, thus this recoring and all future recording are missed.
--
Generally, the PowerScheduler should disallow shutdown when a recording is "about to begin", i.e. there should be a DisallowTimeout, which says how many minutes before the next event is due, a shutdown is disallowed.
Regards,
dero
MediaPortal Skin:
Windows Version:
CPU Type:
HDD:
Memory:
Motherboard:
Motherboard Chipset:
Motherboard Bios:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:
I maybe found some bugs in the TVServer-PowerScheduler.
--
Scenario 1:
In NextWakeUpTime, the earliest wakeup time is _lastIdleTime + IdleTimeout. Assume the system was idle for 2 minutes and IdleTimeout is set to 8 minutes. The next recordng wants to start in 5 minutes. When the user tries to hibernate the system, _idle is true and OnPowerEvent does not block the QuerySuspend request. The system is going to hibernation and misses the recording since the next recording wants to start prior to earliest wakeup time (which is not allowed in NextWakeUpTime).
Scenario 2:
The system was idle for 2 minutes and IdleTimeout is set to 8 minutes. The next recording wants to start in 8 minutes and 1 second. Just when the system is about to shutdown, the timer is raised, but may not be fast enough to unset _idle, thus this recoring and all future recording are missed.
--
Generally, the PowerScheduler should disallow shutdown when a recording is "about to begin", i.e. there should be a DisallowTimeout, which says how many minutes before the next event is due, a shutdown is disallowed.
Regards,
dero