PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 (2 Viewers)

michael_t

Portal Pro
November 30, 2008
1,258
813
Home Country
Germany Germany
Where can i change the log level of the TV server? Only found an option for the client.
Yep. I thought the option for the client does also get respected by the TVServer but it seems not.. Will have to ask.
Since we need logging for PS++, I will not remove it - and I am no friend of plugin specific logging options. You could edit the log config file to lower the log level, but do not ask me how to do this...;).

Michael
 

matejdro

Portal Pro
May 28, 2010
361
16
Home Country
Slovenia Slovenia
Request: In active shares, can you ignore share where drive is just mapped, but no file is actually using?

I have my HTPC mapped as network drive, but it seems that just network drive itself is creating usage despite no files are opened.
PS(++) uses the Windows OS mechanisms to get information about shares in use. I do not see any way to change this, but I am no Windows expert...

Michael

You just need to look at file type. If used share is folder, don't prevent standby. In the end you can even check if file name ends with file extension.
 

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
You can enable "Sleep with Remote Open Shares" with this registry edit which might fix this for you. After merging it into the registry, you should see an additional option under your Power Options scheme to enable this (might need to reboot or at least log off first).

Code:
Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d]
"Attributes"=dword:00000000
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\a1841308-3541-4fab-bc81-f71556f20b4a]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001
 
Last edited:

matejdro

Portal Pro
May 28, 2010
361
16
Home Country
Slovenia Slovenia
I don't want my htcp to go to sleep when any share is opened. I only want this when file is opened, but when folder is opened, it should go to sleep.
 

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Where can i change the log level of the TV server? Only found an option for the client.
    Yep. I thought the option for the client does also get respected by the TVServer but it seems not.. Will have to ask.
    Since we need logging for PS++, I will not remove it - and I am no friend of plugin specific logging options. You could edit the log config file to lower the log level, but do not ask me how to do this...;).

    Michael

    Yes, but the amount of logging PS++ does is excessive IMHO, and makes it hard to read the log when looking for problems (which is, after all, the purpose of the logging). Could it be modified so that it only logs when something changes, or significant events happen ?
     
    Last edited:

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I don't want my htcp to go to sleep when any share is opened. I only want this when file is opened, but when folder is opened, it should go to sleep.

    I don't think it will go to sleep when a client is actively accessing files (I think PS++ would prevent that) but the fix allows it to sleep even though the system sees open shared folders. It seems to work OK for me anyway.

    EDIT: You might also need to set a requestsoverride for srvnet with powercfg as that can block sleep too as I recall.
     
    Last edited:

    greybox

    MP Donator
  • Premium Supporter
  • January 23, 2009
    630
    142
    Home Country
    Canada Canada
    I have a multiseat configuration and my MP TV server wakes up fine from the client PC if I try to access TV. But the server doesn't wake up if I try to access the file share. And also sometimes I need to wake the server PT remotely to without MP running on my client. I tried to use Depicus WOL utility from http://www.depicus.com (command and GUI), but it didn't work for me. I used default port 7.

    Any ideas?
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Has anyone else tried
    [X] Powerscheulder forces system to go to standby when idle

    The idle detection is broken, because if your computer is still awake due to remote network share, and MP client is not running, and you are actively doing something on the PC, eg. typing, it will incorrectly put the computer to sleep while you are in the middle of typing a sentence.

    I can even trigger it to put the computer to sleep as soon as I hit the apply button in tvserver-powerscheduler config.
     
    Last edited:

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    Where can i change the log level of the TV server? Only found an option for the client.
    Yep. I thought the option for the client does also get respected by the TVServer but it seems not.. Will have to ask.
    Since we need logging for PS++, I will not remove it - and I am no friend of plugin specific logging options. You could edit the log config file to lower the log level, but do not ask me how to do this...;).

    Michael

    Yes, but the amount of logging PS++ does is excessive IMHO, and makes it hard to read the log when looking for problems (which is, after all, the purpose of the logging). Could it be modified so that it only logs when something changes, or significant events happen ?
    The "excessive" logging is all made in DEBUG log mode (which cannot be deactivated;)). But I need all these log information for analyzing problems with sleep / wakeup and PS++.

    Michael
     

    Users who are viewing this thread

    Top Bottom