I just tried direct activation of the scripts using SrvrPowerCtl on my
Squeezebox Radio.

The log suggests a problem to me, though what is odd is that, if
anything, the one that does work is the one I would expect not to work
and vice versa.

Specifically, the log gives

[09-10-28 10:42:13.0008] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(616) Squeezebox Radio executing command: /Users/danco/caffeinon.sh
[09-10-28 10:43:12.1892] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-28 10:43:32.0008] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(616) Squeezebox Radio executing command: /users/danco/caffeineoff.sh


Note the difference between /Users and /users for the two scripts. The
folder on a Mac is named/Users, but it is that script (caffeineon.sh)
that does not work.

The Mac file system is not case-sensitive, I think. I just tried
creating a folder called Test, which worked,but trying to create another
folder in the same directory but named test does not work.

But there may be something in your script that fails because of the
case distinction.


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

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

Reply via email to