Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-11-04 Thread tamanaco
Well, I have been playing around with SC 7.0 and the only thing missing 7.0 to make me a happy camper is a plugin to allow me to do what I had accomplished with ShutdownServer in SS 6.5x. Btw, I wonder why such a functionality is not either native or provided as a "default" plugin in SS/SC. I feel

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-20 Thread danco
I thought people reading this thread might like to know that kdf posted version 1.19 of the plugin on July 13th, correcting the issues I had raised. And the presence of the (server) option when making settings on the SB helps to clarify the usage. I think it's really nice now, particularly as th

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-14 Thread tamanaco
danco;214162 Wrote: > The ShutdownServer plugin is designed to run a suitable script. The > sample script for Windows is for shutting down, but if you can write a > script yourself for putting the computer to sleep then the plugin will > run it. In fact, as far as I can see, it could run any scri

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-14 Thread Flipze
tamanaco;214160 Wrote: > I also looked at around for a plugin to put a PC running Windows to > sleep and all I found were plugins to shutdown or hibernate. > > kdf, maybe I missed it, but if you know of a plugin to put a Windows PC > to sleep (stand-by), let us know. This is trickier than you'

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-13 Thread danco
The ShutdownServer plugin is designed to run a suitable script. The sample script for Windows is for shutting down, but if you can write a script yourself for putting the computer to sleep then the plugin will run it. In fact, as far as I can see, it could run any script you wanted. I guess I had

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-13 Thread tamanaco
danco;214142 Wrote: > There didn't seem to be any plugins to make a Mac sleep, which is why I > used Execute Script. But perhaps I have missed a suitable plugin > because I had my script. I also looked at around for a plugin to put a PC running Windows to sleep and all I found were plugins to sh

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-13 Thread danco
kdf;214056 Wrote: > Quoting danco forums.slimdevices.com>: > The other options > > (Open, On, Off) are following the choices set on the player, so why > not > > Stop? > > because one . didn't get changed to , last night. > > There are other fine plugins designed around putting a PC to sleep as

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread kdf
Quoting danco <[EMAIL PROTECTED]>: The other options > (Open, On, Off) are following the choices set on the player, so why not > Stop? because one . didn't get changed to , last night. >> press play on any of the option lists when you are looking at a script >> >> name and it will trigger immedia

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread danco
kdf;214044 Wrote: > Quoting danco forums.slimdevices.com>: > > > > Execute: Play Stopped > > Execute: using server pref > > (and then Executing unjiggle, which is the script I have chosen on > the > > server for Stop). > > > yes, it's a log. Please feel free to explain what you think is wrong

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread danco
danco;214041 Wrote: > > One additional request, if it's not too difficult. A much earlier > version of the script had an option to execute a script immediately. > This is useful from time to time (I used it to turn off my server using > the SB remote control). So if you could have an Execute Imm

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread kdf
Quoting danco <[EMAIL PROTECTED]>: > Execute: Play Stopped > Execute: using server pref > (and then Executing unjiggle, which is the script I have chosen on the > server for Stop). > yes, it's a log. Please feel free to explain what you think is wrong. Are you expecting a player pref script to

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread danco
I've done some checking with the new version. One good thing I notice is that the player settings are now visible as they should be. Next thing, which is fine if one knows it is going to happen but is unexpected, is that pressing Play executes the Open File script, not the Play File script. I've

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread kdf
Quoting danco <[EMAIL PROTECTED]>: > As to the business of pressing Stop sending the Play script followed by > the Stop script, I now wonder if this is actually the way SlimServer > works, rather than a plugin issue. That is, perhaps pressing Stop on > the remote actually causes SlimServer to iss

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread danco
I'll check the new version. The previous entry of yours I have seen on the forum still said that you were about to post it, but I gather you have now posted it. As to the business of pressing Stop sending the Play script followed by the Stop script, I now wonder if this is actually the way SlimSe

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread kdf
please feel free to check the update that was posted last night. I've mentioned it twice already, but the email gateway seems hosed. -kdf -- kdf kdf's Profile: http://forums.slimdevices.com/member.php?userid=7 View this t

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-12 Thread danco
I've now done some more checking. I set from the SB the script "unjiggle" to run in all cases, whears on the Web interface I set all cases to "jiggle". slimserver.pref now shows, as it should, in the client section, script: - unjiggle - unjiggle - unjiggle - unjiggle - unjiggle and in the o

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-11 Thread danco
kdf;213850 Wrote: > I have every intention of updating for v7 when I have time. When I say > it isn't worth it for 6.5 it is not intended to devalue your needs or > suggest that I don't believe the plugin is useful. What it does mean > is that I value MY time. Unfortunately, the increasing abu

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-11 Thread kdf
I have every intention of updating for v7 when I have time. When I say it isn't worth it for 6.5 it is not intended to devalue your needs or suggest that I don't believe the plugin is useful. What it does mean is that I value MY time. Unfortunately, the increasing abuse and disrespectful tones,

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-11 Thread tamanaco
kdf;213776 Wrote: > Yes, it a hard UI to get used to, but as > stated on the download site, it is as it is. And now, I've lost track > of whether the original problem was solved or not. I guess it > wouldn't surprise me that windows won't allow system calls from a > service. > > Expect an

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-11 Thread danco
kdf;213776 Wrote: > > The web is a SERVER setting, the player is a PLAYER setting. player > does not show web setting, web does not show player setting (because I > > can't be bothered to write a whole new player setting section for a > plugin I don't use and when it would have to be total

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-11 Thread kdf
Quoting danco <[EMAIL PROTECTED]>: > Yes, I agree, what shows on the SB does not correlate with what is > chosen in the Web interface. One would expect the choice made via the > Web to show on the SB in some fashion. The web is a SERVER setting, the player is a PLAYER setting. player does not

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-10 Thread danco
tamanaco;213468 Wrote: > No... I get three choices (none) plus Sleep.cmd and Restart.cmd the two > batch files that I placed in the scripts path. I can also see all three > choices via he Web UI. No matter what selection I make in the Web UI the > order in which the choices appear in the SB plugi

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-10 Thread tamanaco
danco;213382 Wrote: > Is (none) the first item on your list? I find that the selections in the > Web interface do work (more or less, as you see from my other post, I am > having some problems). But the selected script just does NOT show in the > SB. No... I get three choices (none) plus Sleep.c

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread danco
Some more information. The script "unjiggle" is shown in the Web interface as being set to execute when power is turned off, and it shows that way in the preferences. But when power is turned off (this particular occasion using the PowerSave plugin, but I have observed the same phenomenon when p

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread danco
tamanaco;213380 Wrote: > > > I'm also still unable to get the selected script for each of the > options of the Execute Script in the SB to stick via the remote. The > options default back to (none). The selections stick in the Web UI, but > they appear to have no effect on the SB. Is (none) th

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread tamanaco
kdf;213266 Wrote: > try running the server manually from the command prompt. stop the > server and run from a command prompt: > > c:\program files\slimserver\server\slim.exe --d_plugins > -kdf Ok, it sort of works from the command prompt. I created a batch file to start the server from the s

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread kdf
Quoting danco <[EMAIL PROTECTED]>: > > I am having a different set of problems with the plugin. I suspect I may > not be understanding its action properly. > > In particular, what is the difference between Execute on Open File and > Execute on Play File? play is tricky, as there are different way

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread danco
I am having a different set of problems with the plugin. I suspect I may not be understanding its action properly. In particular, what is the difference between Execute on Open File and Execute on Play File? I have a script ("jiggle") set to execute on play and another ("unjiggle") to execute on

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-09 Thread kdf
try running the server manually from the command prompt. stop the server and run from a command prompt: c:\program files\slimserver\server\slim.exe --d_plugins Here is the output from my test: [CODE] 2007-07-09 11:29:38.3099 Execute: loading scripts from C:/slim/server/Copy of 6.5/scripts

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread tamanaco
kdf;213154 Wrote: > try changing the Execute.pm so that every case of: > system $runScriptPath; > > becomes: > system "$runScriptPath"; > > I believe that should help it work with paths that contain spaces on > windows. > -kdf I changed all the cases where I saw system $runScriptPath; to syst

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread kdf
try changing the Execute.pm so that every case of: system $runScriptPath; becomes: system "$runScriptPath"; I believe that should help it work with paths that contain spaces on windows. -kdf ___ plugins mailing list plugins@lists.slimdevices.com http

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread tamanaco
kdf;213150 Wrote: > d_plugins debugging flag should also show you what the server is trying > > to run when the plugin triggers. I checked the Debug flag for this plugin in the web UI and the log shows the following after I press play. Prevent Standby plugin: starting timer Execute: loading sc

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread kdf
d_plugins debugging flag should also show you what the server is trying to run when the plugin triggers. make sure you are using basic alphanumeric filenames, no silly things like spaces or punctuation as this becomes painful when working on something cross platform, especially when it involve

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread tamanaco
kdf;213139 Wrote: > > That will indicate that the plugin is loaded and looking for scripts. > > If it finds any in that location, they will be listed. > > -kdf kdf, the two scripts which have a single command -> md foldername (just to create a non-existing folder) are listed. I have a test1.

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread kdf
On 8-Jul-07, at 5:04 PM, tamanaco wrote: > > Ok, here is next couple questions" Has anyone has been able to get the > Execute Plugin to work with Windows XP and SS 6.5.3? If so, can you > post the changes you made to execute.pm. I don't know what else to > change in the script to make it work. >

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-08 Thread tamanaco
Ok, here is next couple questions" Has anyone has been able to get the Execute Plugin to work with Windows XP and SS 6.5.3? If so, can you post the changes you made to execute.pm. I don't know what else to change in the script to make it work. I have found other plugins to hybernate (It takes to

Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2007-07-05 Thread tamanaco
Maybe I'm missing something very obvious, but I can not get the execute plugin to work on Windows XP using and SlimServer Version: 6.5.3 - 12301. Here what I have done so far. 1) Placed the execute.pm in the plugins folder 2) Modified the plugin line -> my $scriptPath = 'c:\Program Files\Slimse

[SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.

2006-12-28 Thread waffles
Caution: Newbie warning! I would need some help getting the Execute.pm to work. Here is what I have done so far: Installed execute.pm by copying it into the “plugins” folder of my Slimserver installation Created a folder “scripts” and copied my batch files/scripts (xxx.bat) in there. In the Se