Philip Meyer;298141 Wrote: 
> 
> KDF - are there any instructions for your plugin?  I'm wondering if the
> Execute On Demand setting means that there is some remote key bound to
> execute this script (or do I have to configure a custop map button to
> invoke this?).
> 
> I'd like to extend the plugin to include an "On Sleep" event option, if
> SqueezeCenter provides such an event.  i.e. when sleep time hits 0, it
> would invoke the script.  And also if sleep.hold is pressed to manually
> invoke the On Sleep event.
> 
> Phil

The point about Execute on Demand is that one can navigate to it using
the remote Right and UP/Down buttons, and then press Play to execute.
And the scripts for all other events remain unchanged. Before we had
this option, the only way to manually execute a script was to select it
in one of the other options and press Play, and that would change what
happened automatically on that option. (Hope that's clear.)

You need to set up a Custom.map file in the IR folder (wherever that
lives - depends on the OS) to get a remote key to execute the script.

I chose the Sleep button, and my Custom.map reads

[common]
sleep = modefunction_Plugins::ExecuteScript::Plugin->execute_on_demand


I would guess that rather than changing the plugin to allow for On
Sleep, it would be easier to change the script do that the main script
did not run until a timer had occurred.

Does the script you have created work when it is invoked directly?


-- 
danco
------------------------------------------------------------------------
danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=47087

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

Reply via email to