- September 15, 2006
- 424
- 14
- 63
- Home Country
- United Kingdom
MediaPortal Version: SVN Build 12451 (31.12.2006 / 17:55 CET)
MediaPortal Skin: Blue Two
Windows Version: XP Home SP2
CPU Type: AMD 64X2 4200+
HDD: Samsung 200Gb
Memory: 1Gb DDR
Motherboard: ASUS P1-AH1
Motherboard Chipset: nVidia MCP 51
Motherboard Bios:
Video Card: nVidia GeForce 6150
Video Card Driver: 91.47
Sound Card: Realtek high def
Sound Card AC3: no AC3
Sound Card Driver: 5.10.0.5296
1. TV Card: Hauppauge HVR-1300
1. TV Card Type: DVB-T/Analogue hybrid with mpeg hw encoder
1. TV Card Driver: 2.5e
2. TV Card: Hauppauge Nova T-Stick
2. TV Card Type: DVB-T
2. TV Card Driver: 2.5e
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: Intervideo XPack 2.11.15
MPEG2 Audio Codec: Intervideo XPack 2.11.15
Satelite/CableTV Provider: NTL
HTPC Case: ASUS Pundit P1
Cooling:
Power Supply:
Remote: MS MCE
TV: Hyundai Q320 32" LCD
TV - HTPC Connection: DVI
The latest changes to PowerSchedule seem to have created a problem after a WebEPG grab. To see this problem you may need to ensure that the ShutdownInterval is longer than it takes for the WebEPG grab and import takes to execute. In my case 5 minutes seems long enough.
To reproduce:
1. Enable WebEPG grab and shedule for later today.
2. Enable powerSchedule and set to suspend. Set the ShutDownInterval to be reasonably long (must be longer than the WebEPG plus grab takes to execute).
3. Start MP
4. Allow to suspend.
5. MP will wakeup to process the WebEPG grab.
6. MP Will not suspend after the grab has completed.
I think this bug may be closely related to the problems reported at the end of:
https://forum.team-mediaportal.com/showthread.php?t=14255
But since that thread is currently marked as fixed I thought I should start a new one. Also this case is I think slightly different....
I think this may be caused by the call to OnActivateWindow being ommented out in the code below. The call to ResetShutDown has cleared the Shutdown time and there is now nothing to re-enable it. Note though that if you remove the call to ResetShutDown you will need to be very careful to ensure that CheckNextRecording() does not select "old" programs that have a start time in the past because in some circumstances _shutDownTime can be less than DateTime.Now i.e. in the past!
Hope this makes some sense....
Andy
MediaPortal Skin: Blue Two
Windows Version: XP Home SP2
CPU Type: AMD 64X2 4200+
HDD: Samsung 200Gb
Memory: 1Gb DDR
Motherboard: ASUS P1-AH1
Motherboard Chipset: nVidia MCP 51
Motherboard Bios:
Video Card: nVidia GeForce 6150
Video Card Driver: 91.47
Sound Card: Realtek high def
Sound Card AC3: no AC3
Sound Card Driver: 5.10.0.5296
1. TV Card: Hauppauge HVR-1300
1. TV Card Type: DVB-T/Analogue hybrid with mpeg hw encoder
1. TV Card Driver: 2.5e
2. TV Card: Hauppauge Nova T-Stick
2. TV Card Type: DVB-T
2. TV Card Driver: 2.5e
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: Intervideo XPack 2.11.15
MPEG2 Audio Codec: Intervideo XPack 2.11.15
Satelite/CableTV Provider: NTL
HTPC Case: ASUS Pundit P1
Cooling:
Power Supply:
Remote: MS MCE
TV: Hyundai Q320 32" LCD
TV - HTPC Connection: DVI
The latest changes to PowerSchedule seem to have created a problem after a WebEPG grab. To see this problem you may need to ensure that the ShutdownInterval is longer than it takes for the WebEPG grab and import takes to execute. In my case 5 minutes seems long enough.
To reproduce:
1. Enable WebEPG grab and shedule for later today.
2. Enable powerSchedule and set to suspend. Set the ShutDownInterval to be reasonably long (must be longer than the WebEPG plus grab takes to execute).
3. Start MP
4. Allow to suspend.
5. MP will wakeup to process the WebEPG grab.
6. MP Will not suspend after the grab has completed.
I think this bug may be closely related to the problems reported at the end of:
https://forum.team-mediaportal.com/showthread.php?t=14255
But since that thread is currently marked as fixed I thought I should start a new one. Also this case is I think slightly different....
I think this may be caused by the call to OnActivateWindow being ommented out in the code below. The call to ResetShutDown has cleared the Shutdown time and there is now nothing to re-enable it. Note though that if you remove the call to ResetShutDown you will need to be very careful to ensure that CheckNextRecording() does not select "old" programs that have a start time in the past because in some circumstances _shutDownTime can be less than DateTime.Now i.e. in the past!
Code:
231 if ((_wakeupTime < DateTime.Now) ||
232 ((_rescanTVDatabase) && (!TVDatabase.SupressEvents)))
233 {
234 ResetShutDown(); // ensure that the assumptions about EarliestStartTime are true.
235 CheckNextRecoring(); // checks when the next recording takes place
236 // SetWakeUpTime(); // set the WakeUp Timer
237 _rescanTVDatabase = false;
238 // OnActivateWindow(GUIWindowManager.ActiveWindow); // SetShutDown is called when needed
239 }
Hope this makes some sense....
Andy