Quoting oreillymj <[EMAIL PROTECTED]>: > > hdf, > > I've just downloaded the latest version of the execute plugin(1.7) to > run the small app I wrote to keep XP awake when WOL wakes the computer. > I finally got the script to run on play, but it doesn't seem to work > when I press the power button. Here's the log entries from d_plugin. > > 2005-08-15 18:54:28.0670 Execute: Play Stopped: 2005-08-15 > 18:54:28.0670 Execute: No Script Selected > 2005-08-15 18:54:28.0750 Execute: Power On: 2005-08-15 18:54:28.1113 > Non-URL passed to InfoHash::info (C:\Program > Files\SlimServer\server\scripts\KeepAwake.cmd) > 2005-08-15 18:54:28.1117 Backtrace: > > frame 0: Slim::Music::Info::infoHash (/PerlApp/Slim/Music/Info.pm > line 529) > frame 1: Slim::Music::Info::infoFormat (/PerlApp/Slim/Music/Info.pm > line 756) > frame 2: Slim::Music::Info::standardTitle (C:/Program > Files/SlimServer/server/Plugins/Execute.pm line 349) > frame 3: Plugins::Execute::commandCallback > (/PerlApp/Slim/Control/Command.pm line 1733) > frame 4: Slim::Control::Command::executeCallback > (/PerlApp/Slim/Control/Command.pm line 1641) > frame 5: Slim::Control::Command::execute > (/PerlApp/Slim/Player/Client.pm line 1001) > frame 6: Slim::Player::Client::execute (/PerlApp/Slim/Hardware/IR.pm > line 675) > frame 7: Slim::Hardware::IR::processCode > (/PerlApp/Slim/Hardware/IR.pm line 493) > frame 8: Slim::Hardware::IR::processIR > (/PerlApp/Slim/Control/Command.pm line 603) > frame 9: Slim::Control::Command::execute > (/PerlApp/Slim/Player/Client.pm line 1001) > frame 10: Slim::Player::Client::execute > (/PerlApp/Slim/Hardware/IR.pm line 88) > frame 11: Slim::Hardware::IR::idle (slimserver.pl line 613) > frame 12: main::idle (slimserver.pl line 40) > frame 13: PerlSvc::Startup (perlsvc.pl line 1481) > frame 14: PerlSvc::_startup (slimserver.pl line 0) > frame 15: (eval) (slimserver.pl line 0) > > 2005-08-15 18:54:28.1241 Execute: Executing: KeepAwake
Well, while the log is showing an annoying backtrace when trying to create a 'friendly' title for the script, the last line above does indicate that the script is being called. I'll probably just remove the nice title stuff, and clean up the line returns. However, this won't help the problem you are seeing. I really can't say why you might have a problem with power-on vs. play. What are you seing that says the script works on play but not on power_on? -kdf _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
