Re: [slim] Re: Execute Script Plugin Question

2006-03-30 Thread kdf
Quoting jonheal <[EMAIL PROTECTED]>: I'm figuring that there must be something that generates the stopped message because the word "STOP" in the web UI player frame highlights when a playlist (and I guess anything and everything you play is technically a playlist) ends. Something must be forcin

[slim] Re: Execute Script Plugin Question

2006-03-30 Thread jonheal
In the version of the script for 6.2.x, this appears in the callback sub if (($debug == 1) && $::d_stdio) { print "\n"; print "| COMMAND: $slimCommand\n"; foreach my $i (@$paramsRef[1..scalar(@$paramsRef)-1]) {

[slim] Re: Execute Script Plugin Question

2006-03-30 Thread jonheal
kdf Wrote: > On 30-Mar-06, at 7:49 AM, jonheal wrote: > > > > Can you point me in the direction I should look to figure out how to > do > > this? > I'll have to think about this one. Nothing springs to mind, and I work > > mostly with 6.5 and developer branches, so I've got the new cli in my >

Re: [slim] Re: Execute Script Plugin Question

2006-03-30 Thread kdf
On 30-Mar-06, at 7:49 AM, jonheal wrote: Can you point me in the direction I should look to figure out how to do this? I'll have to think about this one. Nothing springs to mind, and I work mostly with 6.5 and developer branches, so I've got the new cli in my head. -k _

[slim] Re: Execute Script Plugin Question

2006-03-30 Thread jonheal
Kevin, Everything is working fine, so far. I have one final issue that I wonder if you would mind helping me with. I would like to listen for the player/Slimserver stopping. If I issue a command (with a button press) that stops playback, then Execute.pm traps for the event. If however, I simply l

[slim] Re: Execute Script Plugin Question

2006-03-29 Thread jonheal
kdf Wrote: > Quoting jonheal forums.slimdevices.com>: > > > > > I added a line to print all values of the $slimCommand to the debug > log > > (within the commandCallback sub). Neither "button, play" nor "button > > play" appeared in the log. > > > > However, if I changed this line: > > > > elsi

Re: [slim] Re: Execute Script Plugin Question

2006-03-29 Thread kdf
Quoting jonheal <[EMAIL PROTECTED]>: I added a line to print all values of the $slimCommand to the debug log (within the commandCallback sub). Neither "button, play" nor "button play" appeared in the log. However, if I changed this line: elsif ($slimCommand eq "play") to this: elsif ($slimC

[slim] Re: Execute Script Plugin Question

2006-03-29 Thread jonheal
kdf Wrote: > On 29-Mar-06, at 2:34 AM, jonheal wrote: > > > > > kdf Wrote: > >> I've posted a new version (1.13) that should hopefully fix the > >> problems. > >> -k > > Rats, I'm still using 6.2.2. > > > well, I had asked... > and really it was the 6.5 version that had the problem, but I can tr

Re: [slim] Re: Execute Script Plugin Question

2006-03-29 Thread kdf
On 29-Mar-06, at 4:39 AM, jonheal wrote: kdf Wrote: I've posted a new version (1.13) that should hopefully fix the problems. -k Kevin, I replaced "play" with "newsong" in this block: newsong isn't always accurate. It can depend on the file format. I suspect the problem is the same as wi

Re: [slim] Re: Execute Script Plugin Question

2006-03-29 Thread kdf
On 29-Mar-06, at 2:34 AM, jonheal wrote: kdf Wrote: I've posted a new version (1.13) that should hopefully fix the problems. -k Rats, I'm still using 6.2.2. well, I had asked... and really it was the 6.5 version that had the problem, but I can try to take a look at the older one. __

[slim] Re: Execute Script Plugin Question

2006-03-29 Thread jonheal
kdf Wrote: > I've posted a new version (1.13) that should hopefully fix the > problems. > -k Kevin, I replaced "play" with "newsong" in this block: elsif ($slimCommand eq "newsong") { $::d_plugins && msg("Execute: Play Started: "); $runScript = Slim::Utils::Prefs::clientGet($cli

[slim] Re: Execute Script Plugin Question

2006-03-29 Thread jonheal
kdf Wrote: > I've posted a new version (1.13) that should hopefully fix the > problems. > -k Rats, I'm still using 6.2.2. -- jonheal Jon Heal says: Have a nice day! http://www.theheals.org/ jonheal's Profile: http://foru

Re: [slim] Re: Execute Script Plugin Question

2006-03-28 Thread kdf
I've posted a new version (1.13) that should hopefully fix the problems. -k ___ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss

Re: [slim] Re: Execute Script Plugin Question

2006-03-28 Thread kdf
Quoting jonheal <[EMAIL PROTECTED]>: Then I can see if "play" is being returned at all. Looks like it isn't in all cases. Using the web, if you hit the play button then the "play" command is issued. If you hit the play button on the remote, or in my case sofsqueeze virtual remote, then t

[slim] Re: Execute Script Plugin Question

2006-03-28 Thread jonheal
kdf Wrote: > Quoting jonheal forums.slimdevices.com>: > > > > > I tried both the version of your script that I modified to add > > the Power Off event and a fresh copy that I downloaded from your web > > site. > > which version of the server are you using again? > > > Also, script Activation

Re: [slim] Re: Execute Script Plugin Question

2006-03-28 Thread kdf
Quoting jonheal <[EMAIL PROTECTED]>: I tried both the version of your script that I modified to add the Power Off event and a fresh copy that I downloaded from your web site. which version of the server are you using again? Also, script Activation is not persisting between system restarts.

[slim] Re: Execute Script Plugin Question

2006-03-28 Thread jonheal
Kevin, I checked the d_plugins and d_files debug flags. I associated my new script with the Open, Play and Stop events. It appears that the Play event is not being trapped. I don't see the brief animation on the Squeezebox and it is not reflected in the log, which I've attached below. I tried bot

[slim] Re: Execute Script Plugin Question

2006-03-27 Thread jonheal
kdf Wrote: > On 27-Mar-06, at 3:00 AM, jonheal wrote: > > > > I have a couple of other .vbs scripts that are working fine with the > > Power events, so Execute Script is running properly, in general. Any > > ideas? > > > I think we've done this before have we not? > > check the version in Execut