PDA

View Full Version : Execute plugin



Patrick Dixon
2005-02-04, 10:52
"The new one i posted last night shouldn't have had those. If you havent
downloaded v1.4, please do so. The line endings were totally wrong, thus
can
tend to have unpredictable results." It's still in v1.4 I'm afaid.

"can you tell me what the differences are?"
for eg, web interface set to:
open - time.bat
play - time.bat
stop - notepad.bat
powr - time.bat
(and change button clicked)

display on softsqueeze says:
open - notepad.bat
play - time.bat
stop - time.bat
powr - notepad.bat

Also clicking play button when (none) selected tries to execute ..\(none).
I know it's a stupid thing to do, but I tried it ;)

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of kdf
Sent: 04 February 2005 17:24
To: Slim Devices Discussion
Subject: [slim] Execute plugin


Quoting Patrick Dixon <patrickdixon (AT) btinternet (DOT) com>:

> Hi Kevin
>
> I still have a few problems with the plugin:
>
> 1) In 'selectFunctions' 'play' the line:
> system("\'$runScript\'");
> doesn't work for me, so I've replaced it with
> system $runScript;
> which does.

The new one i posted last night shouldn't have had those. If you havent
downloaded v1.4, please do so. The line endings were totally wrong, thus
can
tend to have unpredictable results.


> 2) In 'commandCallback' the lines like
> $runScript = Slim::Utils::Prefs::clientGet($client, 'script',0);
(etc)
> don't work for me, so I've replaced them with
> $runScript = Slim::Utils::Prefs::clientGet($client, 'script'.0);
(etc)
> which do.

good catch.

> 3) The web interface selected scripts don't seem to agree with what it
says
> on the display.
>

can you tell me what the differences are?
>
-kdf