Should there be a Srvrpowerctl log? I don't seem to have one, but the
relevant logging seems to take place as part of server.log.

I'm having problems at present. Probably me. I have two shell scripts,
both of which work fine when run from the computer, so the scripts
themselves are ok.

I have set them as custom commands, and also have one set to run when
my players are not idle. One script runs ok when run directly from
SvrPowerCtl (I can never remember the exact spelling). The other, which
is also the one set to run when not idle, does not execute either when
not idle or when run directly.

I am using version v20091024.185210, Mac OS 10.6.1. the log says

[09-10-27 20:14:10.1838] Plugins::SrvrPowerCtrl::Plugin::setMode (205)
sitting-room method: push starting new mode..
[09-10-27 20:14:11.8931]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) Suspend to
mysqueezebox.com...
[09-10-27 20:14:12.0010]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) Suspend to
mysqueezebox.com...
[09-10-27 20:14:12.6053]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) nosleep...
[09-10-27 20:14:14.3656]
Plugins::SrvrPowerCtrl::Menu::doInputListCallback (430) listIndex ==
2..
[09-10-27 20:14:14.3676] Plugins::SrvrPowerCtrl::Plugin::prepareAction
(294) Timer # EV::Timer=SCALAR(0x1057dc8a0) created.  Action customcmd0
is pending in 15 seconds..
[09-10-27 20:14:14.3679] Plugins::SrvrPowerCtrl::Util::logHashElements
(953) item[0]:
[09-10-27 20:14:14.3682] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: poweroffplayers, value: 0
[09-10-27 20:14:14.3684] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: messagedone, value: Custom command finished
[09-10-27 20:14:14.3687] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: menuindex, value: 2
[09-10-27 20:14:14.3689] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: cmdwait, value: 5
[09-10-27 20:14:14.3692] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: gotosn, value: 0
[09-10-27 20:14:14.3694] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: checkblock, value: 1
[09-10-27 20:14:14.3697] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: dispblock, value: 1
[09-10-27 20:14:14.3699] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: setrtcwakeup, value: 0
[09-10-27 20:14:14.3702] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: command, value: /Users/danco/caffeinon.sh
[09-10-27 20:14:14.3704] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: menutext, value: nosleep
[09-10-27 20:14:14.3707] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: cancelwait, value: 15
[09-10-27 20:14:14.3709] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: message, value: Executing custom command nosleep
[09-10-27 20:14:14.3712] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: refreshwait, value: 60
[09-10-27 20:14:14.3714] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: exeTime, value: 1256674469
[09-10-27 20:14:14.3717] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: getcommandargcoderef, value: undef
[09-10-27 20:14:14.3719] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: actionid, value: 262144
[09-10-27 20:14:14.3722] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: action, value: customcmd0
[09-10-27 20:14:14.3724] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: stopsc, value: 0
[09-10-27 20:14:14.3727] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: isSleepDefered, value: 0
[09-10-27 20:14:29.0023]
Plugins::SrvrPowerCtrl::Util::BlockPlayerMessage (283) All Clients:
Executing custom command nosleep
[09-10-27 20:14:32.9733] Plugins::SrvrPowerCtrl::Plugin::setMode (205)
sitting-room method: push starting new mode..
[09-10-27 20:14:34.0009] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(616) sitting-room executing command: /Users/danco/caffeinon.sh
[09-10-27 20:14:34.0117] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(631) Command returned -1
[09-10-27 20:14:34.4233]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) Suspend to
mysqueezebox.com...
[09-10-27 20:14:34.5275]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) Suspend to
mysqueezebox.com...
[09-10-27 20:14:35.0096]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) nosleep...
[09-10-27 20:14:35.8697]
Plugins::SrvrPowerCtrl::Menu::doInputListChange (458) allowsleep...
[09-10-27 20:14:36.8285]
Plugins::SrvrPowerCtrl::Menu::doInputListCallback (430) listIndex ==
3..
[09-10-27 20:14:36.8305] Plugins::SrvrPowerCtrl::Plugin::prepareAction
(294) Timer # EV::Timer=SCALAR(0x1057ec7e0) created.  Action customcmd1
is pending in 15 seconds..
[09-10-27 20:14:36.8309] Plugins::SrvrPowerCtrl::Util::logHashElements
(953) item[0]:
[09-10-27 20:14:36.8312] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: poweroffplayers, value: 0
[09-10-27 20:14:36.8315] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: messagedone, value: Custom command finished
[09-10-27 20:14:36.8317] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: menuindex, value: 3
[09-10-27 20:14:36.8320] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: cmdwait, value: 5
[09-10-27 20:14:36.8322] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: gotosn, value: 0
[09-10-27 20:14:36.8324] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: checkblock, value: 1
[09-10-27 20:14:36.8327] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: dispblock, value: 1
[09-10-27 20:14:36.8329] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: setrtcwakeup, value: 0
[09-10-27 20:14:36.8332] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: command, value: /users/danco/caffeineoff.sh
[09-10-27 20:14:36.8334] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: menutext, value: allowsleep
[09-10-27 20:14:36.8337] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: cancelwait, value: 15
[09-10-27 20:14:36.8339] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: message, value: Executing custom command allowsleep
[09-10-27 20:14:36.8342] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: refreshwait, value: 60
[09-10-27 20:14:36.8344] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: exeTime, value: 1256674491
[09-10-27 20:14:36.8347] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: getcommandargcoderef, value: undef
[09-10-27 20:14:36.8349] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: actionid, value: 262145
[09-10-27 20:14:36.8352] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: action, value: customcmd1
[09-10-27 20:14:36.8354] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: stopsc, value: 0
[09-10-27 20:14:36.8357] Plugins::SrvrPowerCtrl::Util::logHashElements
(954) key: isSleepDefered, value: 0
[09-10-27 20:14:51.0034]
Plugins::SrvrPowerCtrl::Util::BlockPlayerMessage (283) All Clients:
Executing custom command allowsleep
[09-10-27 20:14:56.0010] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(616) sitting-room executing command: /users/danco/caffeineoff.sh
[09-10-27 20:14:56.2567] Plugins::SrvrPowerCtrl::Util::SystemExecCmd
(631) Command returned -1


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to