MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » 1.0 RC1 and SVN Builds


1.0 RC1 and SVN Builds Post bugs you have found in 1.0 RC1 or any later SVN-Snapshot here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-05-29, 13:21   #1 (permalink)
MP Donator
 
Join Date: May 2008
Location: Copenhagen
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to erhardsendk
fixed PowerScheduler not allowing standby when hours are set to 0 - 24

TV-Server Version:
MediaPortal Version: nightly build from Friday 23rd
MediaPortal Skin: Blue Wide
Windows Version: Vista Home Premium SP1
CPU Type: AMD x64 BE
HDD: Seagate 750GB
Memory: 2GB
Motherboard: Gigabyte GA-MA69GM-S2H
Video Card: Ati x1250
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: DigitalAnywhere FloppyDTV
1. TV Card Type: DVB-C
HTPC Case: HfX Mini

I tried commenting out the lines 1242-1251 containing the hour-check in PowerScheduler.cs:

//check if is allowed to sleep at this time.
// e.g. 23:00 -> 07:00 or 01:00 -> 17:00
if ((Current24hHour < _settings.AllowedSleepStartTime) && (Current24hHour > _settings.AllowedSleepStopTime) ||
(Current24hHour > _settings.AllowedSleepStartTime) && (Current24hHour > _settings.AllowedSleepStopTime))
{
_currentDisAllowShutdownHandler = "NOT-ALLOWED-TIME";
LogVerbose("PowerScheduler.DisAllowShutdown: not allowed hour for standby {0}", Current24hHour);
_currentDisAllowShutdown = true;
_powerManager.PreventStandby();
return true;
}

- recompiled the project, copied the PowerScheduler plugin dll to the HTPC, and now the machine can suspend.
I found that in the log, TVserver outputs 'not allowed hour for standby 13' although the setting says 0 - 24.
erhardsendk is online now   Reply With Quote
Old 2008-05-29, 14:20   #2 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,519
Thanks: 85
Thanked 95 Times in 69 Posts

Country:

My System

Default

rofl - you are able to compile on your own but didn't simply update to lastest SVN where the original cause had been fixed?
__________________
rtv is offline   Reply With Quote
Old 2008-05-29, 14:23   #3 (permalink)
MP Donator
 
Join Date: May 2008
Location: Copenhagen
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to erhardsendk
Default

Hm, I think I did - but it did not change much.
Should probably check again.

I'm pretty sure I checked for the latest version - but hey - add one beer to the mistake-count ;-)

Last edited by erhardsendk; 2008-05-29 at 14:43. Reason: Automerged Doublepost
erhardsendk is online now   Reply With Quote
Reply

Bookmarks

Tags
allowing, hours, powerscheduler, set, standby

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowed Standby Hours...Please explain this? SciDoctor Get Support 36 2008-08-14 15:28
Audio sync problems when screen set to 24 Hz mad_cow Support 4 2008-05-03 15:51
PowerScheduler - StandBy Problem Ponyriemen Media Portal - Support 23 2007-08-01 19:02
PowerScheduler not able to set correct WakeUp Time Muldini fixed 0.2.2.0 bugs 3 2007-02-20 10:01
Freezing when PowerScheduler try to Standby mitzekotze General Support 2 2006-10-07 13:57


All times are GMT +1. The time now is 17:38.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress