danco;466454 Wrote: 
> kdf, I was sorry to see that your plugins are marked (in the
> SqueezeCenter repositories) as "legacy plugins, best soon forgotten". I
> find Execute Script pretty much essential for my use and I hope it will
> be maintained.

Unfortunately, I no longer make use of any of my plugins.  I have no
interest in porting them to fit the newer Squeeplay UI, so eventually
they will likely fall into unusable states.

However, Execute Script plugin should mostly still work with 7.4.  I'm
certainly seeing logging with plugin.executescript set to DEBUG.  As for
executing the play script when on_demand is triggered, that may be due
to the more recent IR changes that follow the heirarchy back to the
common mode.  

If you add the debug option to your startup, you should at least see
info about finding the scripts available when you load the settings page
in the web ui.  Here is a sample of my own testing just now on windows
(using 7.4.1 code):

[09-10-05 10:32:08.2425] Plugins::ExecuteScript::Plugin::scriptlist
(183) Execute:        found test.bat
[09-10-05 10:32:10.3703]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:10.3713] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:10.3720] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:32:11.5987]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:11.5996] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:11.6004] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:32:11.9948]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:11.9957] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:11.9966] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:32:12.4958]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:12.4967] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:12.4975] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:32:13.0774]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:13.0783] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:13.0791] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:32:15.1249] Plugins::ExecuteScript::Plugin::__ANON__ (146)
Execute: path: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts
[09-10-05 10:32:15.1258] Plugins::ExecuteScript::Plugin::__ANON__ (147)
Execute: file: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts\test.bat
[09-10-05 10:32:15.1324] Plugins::ExecuteScript::Plugin::__ANON__ (148)
Execute: Executing: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts\test.bat

c:\personal\slim\server>echo Hello
Hello
[09-10-05 10:32:15.1840]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started
[09-10-05 10:32:15.1849] Plugins::ExecuteScript::Plugin::doThisScript
(209) Execute: using server pref
[09-10-05 10:32:15.1904] Plugins::ExecuteScript::Plugin::doThisScript
(219) Execute: No Script Selected
[09-10-05 10:33:37.6007] Plugins::ExecuteScript::Plugin::__ANON__ (146)
Execute: path: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts
[09-10-05 10:33:42.9030] Plugins::ExecuteScript::Plugin::__ANON__ (147)
Execute: file: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts\test.bat
[09-10-05 10:33:42.9040] Plugins::ExecuteScript::Plugin::__ANON__ (148)
Execute: Executing: C:\Documents and Settings\All Users\Application
Data\Squeezebox\prefs\scripts\test.bat

c:\personal\slim\server>echo Hello
Hello
[09-10-05 10:33:42.9412]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (245) Execute: Play
Started


---kdf


-- 
kdf
------------------------------------------------------------------------
kdf's Profile: http://forums.slimdevices.com/member.php?userid=7
View this thread: http://forums.slimdevices.com/showthread.php?t=69121

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to