Hello :-)

I get the following in the Log with d_plugin

Execute: Power Off
Execute: No Script Selected 
Execute: Power On
Execute: No Script Selected 

Strangely, If I select a Power ON script - "powermeup.cmd", then 
I get the following 

Execute: Power Off
Execute: Executing powermeup.cmd
Execute: Power On
Execute: Executing powermeup.cmd

Looking at the script, this seems to come from the line
$runScript = Slim::Utils::Prefs::get('plugin-Execute-power_on);
which is executed if above calls to $client->prefGet('script'...) don't
return  anything ;-)

So it's me wondering why there isn't anything stored in
$client->prefGet('script'.4);

Adrian


-- 
tenwiseman
------------------------------------------------------------------------
tenwiseman's Profile: http://forums.slimdevices.com/member.php?userid=5764
View this thread: http://forums.slimdevices.com/showthread.php?t=29524

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to