Quoting jonheal <[EMAIL PROTECTED]>:
Kevin,
Is it possible to run a script on the POWER OFF event with Execute
Script?
nto at this time, but it could be modified. If you are using 6.2.1 or
any of the 6.2.2 builds, you could turn power on into power oss just by
changing line 341 to:
elsif (($paramOne eq "power_toggle") &&
!Slim::Utils::Prefs::clientGet($client, 'power')) {
Then you just have to remember that power on, really means power off :)
If you use 6.5, then there is a new version but the CLI has changed a
fair bit. The event covers "power_toggle" as a command, but not the
'power' command. It will need some rewriting, including the proper
song start event.
manual running of scripts should be unaffected.
-kdf
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins