Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-23 Thread peterw

There are definitely some bugs with beta17. I've been running it since I
posted it, and I've seen a couple problems: 
1) For when off, I only have SuperDateTime as a timed/automatic
saver. A couple of times I've had the display get stuck, like the clock
has stopped. Fixing it has required turning the SB on and then back off
again.
2) For when playing, I have 3 automatic screensavers. A couple of
times I've had the SB display go blank except for the small spectrum
analyzer on the right hand side. To get back to the screensavers, I'd
press Now Playing once and wait for the screensaver to kick in again.

I suspect the problem is that SaverSwitcher  is manipulating the mode
stack in some cases where it should not. I just wanted to let you know
I'm aware of the problem and trying to get it worked out. Please let me
know if you see anything else amiss.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-13 Thread SumnerBoy

Yeah it seems to be ok now. My bad!


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-13 Thread peterw

SumnerBoy;208777 Wrote: 
 Yeah it seems to be ok now. My bad!

No, not your bad. Mine. :-) beta17 fixes at least one instance of SS
failing to restore settings, FWIW. But I'm glad it seems to be working
again, and I'm grateful for your help debugging that mode stack
problem.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-12 Thread peterw

SumnerBoy;208314 Wrote: 
 Peter - I have installed beta16 and it seems to be working much better.
 No noticeable delay at all! Thanks a million!!
 
 Let me know when you release a proper version with this fix etc and I
 will be sure to upgrade.

I'll be sure to post in this forum when I do. If you see any other
problems, please let me know. 

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-12 Thread SumnerBoy

I noticed last night that it was no longer switching between plugins. I
have it configured to switch between the RSS Reader and the Weather
plugins but it was just stuck on the RSS Reader. Pressing buttons on
the remote to manually switch didn't work either.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-12 Thread peterw

SumnerBoy;208491 Wrote: 
 I noticed last night that it was no longer switching between plugins. I
 have it configured to switch between the RSS Reader and the Weather
 plugins but it was just stuck on the RSS Reader. Pressing buttons on
 the remote to manually switch didn't work either.

Is SaverSwitcher still listed as the When Off saver? The plugin has
logic that's supposed to restore the screensaver settings, but I've
seen it -- especially after Slimserver restarts -- fail to revert to
SaverSwitcher as the preferred screensaver. I haven't tested
thoroughly, but I've been using beta16 on my server here since I posted
it last night, and it still seems to work OK.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-11 Thread peterw

SumnerBoy;208123 Wrote: 
 Here is the log using your latest beta15 code. I also turned on the
 plugin debugging. Note I removed a whole load of extra text from the
 log from the weather screensaver which was outputting the icon in
 '*'s.
 
 Looks to me like there is some sort of loop in there which is
 unwravelling perhaps? This would explain why the delay gets longer, the
 longer I leave the unit off.
 
 Each iteration of the loop is reinitialising the screen savers or
 something, and that is introducing a delay.
 

Thanks for the debugging text. It looks to me like odd behavior by
Slimserver itself. I would expect Slimserver to keep track of what
screensaver is displaying, and, when the player mode changes such that
the screensaver should exit or when the user changes the screensaver
preference so that Slimserver should switch from one saver to another,
Slimserver should call the leave function of the current saver before
switching modes or calling the new screensaver's set routine.

But it looks like Slimserver is maintaining a list of all the
screensavers that were started when your player was off, in order.
Instead of tracking a single variable
$leaveCoderefForCurrentSaver{$client}, Slimserver appears to be pushing
leave coderefs into an array/list. And when your player mode changes
from off to on, Slimserver appears to be calling the leave function
*not* just for the current screensaver, but for every screensaver in
that list, in order. If the list is just an alternation of RSS and
WeatherTime for dozens or hundreds of iterations, then Slimserver seems
to be tied up running leave functions hundreds of times. This is
something I've never noticed, but I have a single saver listed for off
mode and only occasionally use the SaverSwitcher button control to
manually switch to another, so I'd never have such a large array of
leave routines when turning a player on. 

What version/release of Slimserver are you using?

When the player is turned off and switching between savers, do you see
RSS: Left screensaver mode messages about the same time that the
display changes from RSS to WeatherTime?


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-11 Thread SumnerBoy

peterw;208162 Wrote: 
 What version/release of Slimserver are you using?

SlimServer Version: 6.5.2 - 12047 - Windows XP - EN - cp1252.

peterw;208162 Wrote: 
 When the player is turned off and switching between savers, do you see
 RSS: Left screensaver mode messages about the same time that the
 display changes from RSS to WeatherTime?

Yes.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-11 Thread SumnerBoy

Brilliant - glad to hear we are making progress! Let me know if you need
me to test any further betas etc.

Thanks for all your help!!


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-11 Thread peterw

OK, that's great. Very helpful. A few things are happening in the
server. 
1) each time the screensaver changes, slimserver treats it as a mode
change, and calls the old saver/mode's leave function
2) each time the screensaver changes, slimserver pushes the new
saver's mode onto the player's modeStack, so the modeStack grows with
each change
3) when you turn the player on, slimserver starts dismantling the
modeStack, and calls the leave function for each saver/mode as it
tears down the mode stack (and the set functions, too)

In normal behavior (without SaverSwitcher), the mode stack just
wouldn't get that big.

I need to look into ways to improve this -- either manipulating the
modeStack in a bit of a hacked fashion, or perhaps simply using the
popMode() API to trim the modeStack before changing screensavers.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-11 Thread peterw

OK, you might try beta16. I've only tested it lightly (mostly for When
Off and When Playing savers) but it's got some code that prevents
modeStack from getting so large, and all those set/leave functions from
being called additional times. I wouldn't be surprised if there are some
little bugs I haven't found, but I believe this should fix your power-up
delays.

http://www.tux.org/~peterw/slim/SaverSwitcher/

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-09 Thread peterw

SumnerBoy;207571 Wrote: 
 I finally got around to testing this (sorry for the delay) and you are
 spot on - I turned on the first SB3 and there was a 10sec delay -
 during that time my other SB3 (in the next room) had the date/time
 screensaver running and that froze for the 10secs - i.e. the seconds
 weren't updated on the clock.
 
 Does this help or narrow down the problem?

It should. I haven't had any time to look at the Slimserver code I'm
calling, but I have
- verified that when a player powers on, Slimserver calls the leave
function of the current When Off screensaver
- posted a beta15 of SaverSwitcher that adds more debugging when its
set and leave functions are called --
http://www.tux.org/~peterw/slim/SaverSwitcher/

The sequence at power on should look something like this:
1) SS sees the IR activity and passes it along (SaverSwitcher: not a
digit, calling original IR command)
2) Slimserver calls the RSS saver's leave function (if you enable
d_plugins debugging you should see the message RSS: Left screensaver
mode
3) Slimserver calls the SS set function:

Code:

2007-06-09 13:21:25.5139 SaverSwitcher: setScreensaverMode called
  2007-06-09 13:21:25.5140 SaverSwitcher: getting client id
  2007-06-09 13:21:25.5142 SaverSwitcher: getting client mode
  2007-06-09 13:21:25.5144 SaverSwitcher: whichSaverType getting client id
  2007-06-09 13:21:25.5146 SaverSwitcher: whichSaverType checking client power
  2007-06-09 13:21:25.5168 SaverSwitcher: whichSaverType checking client 
playmode
  2007-06-09 13:21:25.5171 SaverSwitcher: 00:11:22:33:44:55 is on, but not 
playing music
  2007-06-09 13:21:25.5173 SaverSwitcher: 00:11:22:33:44:55: called for wrong 
saver? (SCREENSAVER.timespeller ne SCREENSAVER.plugin_SaverSwitcher) exiting
  


4) Slimserver calls the SS leave function

Steps 3  4 look odd to me -- I don't understand why Slimserver would
call set + leave when powering on, as it wouldn't really want to start
using a screensaver right away -- except for powering off, Slimserver
should wait the specified number of seconds to switch from a normal
display to the When Playing or When Idle savers. But that's what I'm
seeing.

Please post what you see from beta15 (and at least enable d_plugins so
you get some output from RSS News) -- beta15 won't solve your problem,
but it might help troubleshoot.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-08 Thread SumnerBoy

peterw;206878 Wrote: 
 Another way to test the theory of Slimserver code hanging/blocking would
 be to run a second player (Softsqueeze?), have it off and showing the
 Date and Time screensaver with seconds displayed, and see if Slimserver
 keeps updating the seconds on that player while your main player is
 stuck in the delay.

I finally got around to testing this (sorry for the delay) and you are
spot on - I turned on the first SB3 and there was a 10sec delay -
during that time my other SB3 (in the next room) had the date/time
screensaver running and that froze for the 10secs - i.e. the seconds
weren't updated on the clock.

Does this help or narrow down the problem?


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-06 Thread SumnerBoy

fcm4711;206890 Wrote: 
 Does your player have a 'Player Name' set?

Hi Felix, yes both my players have names defined.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-05 Thread peterw

SumnerBoy;206048 Wrote: 
 2007-06-01 09:03:02.6566 
 2007-06-01 09:03:02.6569 IR: irCode not defined: power_toggle
 2007-06-01 09:03:02.6570 IR: trying to execute button: [power_toggle]
 2007-06-01 09:03:02.6574 IR: executing button: power_toggle
 2007-06-01 09:03:02.6577 
 2007-06-01 09:03:42.5951 SaverSwitcher: 00:04:20:06:db:5f is on, but
 not playing music
 2007-06-01 09:03:42.5953 SaverSwitcher: killing SaverSwitcher timer for
 00:04:20:06:db:5f since now called as a idlesaver
 

Sorry for the delayed response... and the incompleteness of this post.
Sometime between 09:03:02.6577 and 09:03:42.5951, the
setScreensaverMode() routine for SS was called. There's very, very
little code that runs between the start of the setScreensaverMode()
routine and that on, but not playing music line. Two things I've
meant to follow up on, but had trouble finding time to do so, are 1)
verify that the off saver (RSS) is executing its leaveScreensaver()
routine in that gap, too (if so, it could be causing the delay), and 2)
check the Slim/Logitech code to see if there's any reason the few lines
of code that SS runs in that interval might cause any sort of hang.

In the 09:03:02.6577 to 09:03:42.5951 gap, did you press Power again
and it not be recognized until 09:03:42.6160; or did you press another
button that was never recognized, or what?

Thanks,

Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-05 Thread SumnerBoy

I didn't press any other button (I don't think). I just pressed Power
once to try and turn the device on, and then waited the 40s for
something to happen.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-05 Thread peterw

SumnerBoy;206857 Wrote: 
 I didn't press any other button (I don't think). I just pressed Power
 once to try and turn the device on, and then waited the 40s for
 something to happen.

OK. I was thinking that a couple problems could cause what you're
seeing, especially since you say that previously you tried pressing
buttons during the delay and nothing happened. One is that some code is
hanging/blocking and Slimserver isn't able to do anything during the
delay. Another is that Slimserver is receiving the IR codes from the
Squeezebox but for some reason is not acting on them. Another way to
test the theory of Slimserver code hanging/blocking would be to run a
second player (Softsqueeze?), have it off and showing the Date and
Time screensaver with seconds displayed, and see if Slimserver keeps
updating the seconds on that player while your main player is stuck in
the delay.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-06-05 Thread fcm4711

Hi there

Just a wild guess. Does your player have a 'Player Name' set? I found
that a player could react very slow if an empty player name is set.
Check 'Player Settings' - 'Basic Settings' at the top. If the 'Player
Name' is empty, put something in and save the settings.

Cheers
Felix


-- 
fcm4711

Everyone said: This cannot be done. But one day someone came along who
didn't know about this - and did it. (Source unknown)

fcm4711's Profile: http://forums.slimdevices.com/member.php?userid=42
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-31 Thread SumnerBoy

Here is a log dump of the problem happening, with the d_ir and d_command
debugging turned on. As you can see there is a 40s delay from when the
power button is pressed until when something else happens in the SS
screensaver.

2007-06-01 09:02:56.3243 SaverSwitcher: c5:69:9e:47:ea:cd is playing
music
2007-06-01 09:02:56.3256 SaverSwitcher: currently playing
   mms://ac1.streaming.net.nz/tvworks-rock URL
2007-06-01 09:02:56.3258 SaverSwitcher: c5:69:9e:47:ea:cd:
lookForPlaylistChanges resetting lookForPlaylistChanges() timers
2007-06-01 09:02:59.8263 SaverSwitcher: c5:69:9e:47:ea:cd is playing
music
2007-06-01 09:02:59.8276 SaverSwitcher: currently playing
   mms://ac1.streaming.net.nz/tvworks-rock URL
2007-06-01 09:02:59.8278 SaverSwitcher: c5:69:9e:47:ea:cd:
lookForPlaylistChanges resetting lookForPlaylistChanges() timers
2007-06-01 09:03:02.6547 
2007-06-01 09:03:02.6550 IR: 768940bf - code: power
2007-06-01 09:03:02.6551 SaverSwitcher: client 00:04:20:06:db:5f mode
OFF.rssnews ircode 768940bf codename power multiMode offsaver
2007-06-01 09:03:02.6552 SaverSwitcher: not a digit, calling original
IR command
2007-06-01 09:03:02.6554 IR: 768940bf - code: power
2007-06-01 09:03:02.6555 IR: 768940bf   334907.003  1180645382.65554
2007-06-01 09:03:02.6559 IR: found button power for 768940bf
2007-06-01 09:03:02.6560 IR: found function power_toggle for button
power in mode common from map Default.map
2007-06-01 09:03:02.6561 IR: irCode = [power_toggle] timer =
[334907.003] timediff = [88374.663] last = [power_toggle]
2007-06-01 09:03:02.6562 irCode: power_toggle, 00:04:20:06:db:5f
2007-06-01 09:03:02.6566 
2007-06-01 09:03:02.6569 IR: irCode not defined: power_toggle
2007-06-01 09:03:02.6570 IR: trying to execute button: [power_toggle]
2007-06-01 09:03:02.6574 IR: executing button: power_toggle
2007-06-01 09:03:02.6577 
2007-06-01 09:03:42.5951 SaverSwitcher: 00:04:20:06:db:5f is on, but
not playing music
2007-06-01 09:03:42.5953 SaverSwitcher: killing SaverSwitcher timer for
00:04:20:06:db:5f since now called as a idlesaver
2007-06-01 09:03:42.5954 SaverSwitcher: killing SaverSwitcher timer for
00:04:20:06:db:5f since now called as a idlesaver
2007-06-01 09:03:42.5955 SaverSwitcher: 00:04:20:06:db:5f:
setScreensaverMode() killing changeSaver() timers
2007-06-01 09:03:42.5960 SaverSwitcher: adding 00:04:20:06:db:5f to
list of players using SaverSwitcher for offsaver
2007-06-01 09:03:42.5964 SaverSwitcher: Resetting offsaver for
00:04:20:06:db:5f to SaverSwitcher
2007-06-01 09:03:42.5967 SaverSwitcher: 00:04:20:06:db:5f:
setScreensaverMode() killing lookForPlaylistChanges() timers
2007-06-01 09:03:42.5982 SaverSwitcher: considering saver 0 for
idlesaver
2007-06-01 09:03:42.5995 SaverSwitcher: adding 00:04:20:06:db:5f to
list of players using SaverSwitcher for idlesaver
2007-06-01 09:03:42.5998 SaverSwitcher: 00:04:20:06:db:5f: setting
idlesaver saver to SCREENSAVER.rssnews, changing in 180 seconds
2007-06-01 09:03:42.5999 SaverSwitcher: 00:04:20:06:db:5f:
delegateSaver() killing changeSaver() timers
2007-06-01 09:03:42.6002 SaverSwitcher: 00:04:20:06:db:5f:
delegateSaver() resetting changeSaver() timers
2007-06-01 09:03:42.6151 Request: Command [00:04:20:06:db:5f-power]
(Done)
2007-06-01 09:03:42.6153Param: [_newvalue] = [1]
2007-06-01 09:03:42.6155 Request: Command [00:04:20:06:db:5f-button]
(Done)
2007-06-01 09:03:42.6156Param: [_buttoncode] = [power_toggle]
2007-06-01 09:03:42.6157Param: [_time] = [334907.003]
2007-06-01 09:03:42.6158Param: [_orFunction] = [1]
2007-06-01 09:03:42.6160 Request: Command [00:04:20:06:db:5f-ir]
(Done)
2007-06-01 09:03:42.6161Param: [_ircode] = [768940bf]
2007-06-01 09:03:42.6162Param: [_time] = [334907.003]
2007-06-01 09:03:42.6174 IR: found button power for 768940bf
2007-06-01 09:03:42.6177 IR: irCode not defined: power.single
2007-06-01 09:03:42.6181 
2007-06-01 09:03:42.6183 IR: 768940bf - code: power
2007-06-01 09:03:42.6185 SaverSwitcher: client 00:04:20:06:db:5f mode
INPUT.List ircode 768940bf codename power multiMode idlesaver
2007-06-01 09:03:42.6186 SaverSwitcher: not a digit, calling original
IR command
2007-06-01 09:03:42.6188 IR: 768940bf - code: power
2007-06-01 09:03:42.6189 IR: 768940bf   334907.111  1180645422.61894
2007-06-01 09:03:42.6190 IR: found button power for 768940bf
2007-06-01 09:03:42.6192 IR: irCode not defined: power.repeat
2007-06-01 09:03:42.6196 IR: irCode = [] timer = [334907.111] timediff
= [0.10799949243] last = [power_toggle]
2007-06-01 09:03:42.6197 Request: Command [00:04:20:06:db:5f-ir]
(Done)
2007-06-01 09:03:42.6198Param: [_ircode] = [768940bf]
2007-06-01 09:03:42.6199Param: [_time] = [334907.111]
2007-06-01 09:03:42.6205 SaverSwitcher: c5:69:9e:47:ea:cd is playing
music
2007-06-01 09:03:42.6230 SaverSwitcher: currently playing
   mms://ac1.streaming.net.nz/tvworks-rock URL
2007-06-01 09:03:42.6231 SaverSwitcher: c5:69:9e:47:ea:cd:

Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-30 Thread SumnerBoy

peterw;205581 Wrote: 
 You don't have anything like BottleRocket, AMPSwitch, IRBlaster, etc.
 that does anything when a player powers on/off, do you?

No I don't have any of these things running - never heard of them to be
honest.

I have enabled d_command and d_ir debugging so will see what they
produce.

I will also download that beta and see if that makes a difference.

Thanks for all your help!


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-29 Thread SumnerBoy

Peter, 

Here is the log trace from this happening. If you would rather a text
file of the whole log let me know. 

At 09:24:52 I clicked the power button to bring the SB3 out of standby.
You can see it took until 09:25:11 for it to register.

I hope this helps...


2007-05-30 09:24:46.0276 SaverSwitcher: 00:04:20:06:db:5f: setting
offsaver saver to SCREENSAVER.rssnews, changing in 180 seconds
2007-05-30 09:24:46.0278 SaverSwitcher: 00:04:20:06:db:5f:
delegateSaver() killing changeSaver() timers
2007-05-30 09:24:46.0284 SaverSwitcher: 00:04:20:06:db:5f:
delegateSaver() resetting changeSaver() timers
2007-05-30 09:24:52.6274 SaverSwitcher: client 00:04:20:06:db:5f mode
OFF.rssnews ircode 768940bf codename power multiMode offsaver
2007-05-30 09:24:52.6275 SaverSwitcher: not a digit, calling original
IR command
2007-05-30 09:25:11.3068 SaverSwitcher: 00:04:20:06:db:5f is on, but
not playing music
2007-05-30 09:25:11.3070 SaverSwitcher: killing SaverSwitcher timer for
00:04:20:06:db:5f since now called as a idlesaver
2007-05-30 09:25:11.3071 SaverSwitcher: killing SaverSwitcher timer for
00:04:20:06:db:5f since now called as a idlesaver


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-29 Thread peterw

SumnerBoy;205533 Wrote: 
 
 At 09:24:52 I clicked the power button to bring the SB3 out of standby.
 You can see it took until 09:25:11 for it to register.
 
 2007-05-30 09:24:46.0276 SaverSwitcher: 00:04:20:06:db:5f: setting
 offsaver saver to SCREENSAVER.rssnews, changing in 180 seconds
 2007-05-30 09:24:46.0278 SaverSwitcher: 00:04:20:06:db:5f:
 delegateSaver() killing changeSaver() timers
 2007-05-30 09:24:46.0284 SaverSwitcher: 00:04:20:06:db:5f:
 delegateSaver() resetting changeSaver() timers
 2007-05-30 09:24:52.6274 SaverSwitcher: client 00:04:20:06:db:5f mode
 OFF.rssnews ircode 768940bf codename power multiMode offsaver
 2007-05-30 09:24:52.6275 SaverSwitcher: not a digit, calling original
 IR command
 2007-05-30 09:25:11.3068 SaverSwitcher: 00:04:20:06:db:5f is on, but
 not playing music
 2007-05-30 09:25:11.3070 SaverSwitcher: killing SaverSwitcher timer for
 00:04:20:06:db:5f since now called as a idlesaver
 2007-05-30 09:25:11.3071 SaverSwitcher: killing SaverSwitcher timer for
 00:04:20:06:db:5f since now called as a idlesaver

OK, this makes sense. I don't think it's hanging. At 09:24:52.6275, SS
is letting your player process the on button normally. At
09:25:11.3068, SS is being invoked to handle the when idle saver.
Slimserver has to call the same function for a screensaver regardless
of the off/idle/playing mode, so SS has to determine what mode it's
being called to act for -- that's the on, but not playing music line.
At 09:25:11.3070, SS is telling  Slimserver not to run any pending
change screensaver timers (from the 09:24:46.0276 entry, it looks
like there should have been one set to run at 09:27:46). The
09:25:11.3071 message is really just a repeat of the 09:25:11.3070
message.

So it looks like your Squeezebox is turning on, it's just that the
display is dark when it comes on. What happens if you press Now Playing
after trying to turn on the player? The Brightness button?

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-29 Thread SumnerBoy

When I try to turn on the SB3 and there is this 20sec delay, when it
finally does turn on, it shows the SqueezeBox splash screen - saying
'Free your music' etc. Therefore it isn't actually starting up until
after this delay. 

I have tried pressing all sorts of buttons during this delay
(previously) and they have no effect. Including power on/off.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-29 Thread peterw

SumnerBoy;205548 Wrote: 
 When I try to turn on the SB3 and there is this 20sec delay, when it
 finally does turn on, it shows the SqueezeBox splash screen - saying
 'Free your music' etc. Therefore it isn't actually starting up until
 after this delay. 
 
 I have tried pressing all sorts of buttons during this delay
 (previously) and they have no effect. Including power on/off.

OK, that's pretty odd. After the line
2007-05-30 09:24:52.6275 SaverSwitcher: not a digit, calling original
IR command
SaverSwitcher hands control over to other code (usually the Slimserver
default IR handling code), and shouldn't interfere. Next I'd suggest
enabling d_command and d_ir debugging and see what that registers in
the delay period. You don't have anything like BottleRocket, AMPSwitch,
IRBlaster, etc. that does anything when a player powers on/off, do you?

There definitely seem to be problems with SaverSwitcher and when idle
mode. This is largely due to imperfect code in SaverSwitcher that tries
to identify when a player is really in a screensaver mode. I don't
personally use when idle screensavers at all, so this is a use case I
often don't test. I don't think the idlesaver problems should cause the
trouble you're seeing (SS should either think it's OK to act and at
least get your first idle screensaver started, or, as I tend to see,
think it shouldn't act, do nothing, and leave you with behavior just
like choosing None for the when idle screensaver).

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-29 Thread peterw

I've just posted a beta 14 of SaverSwitcher with some changes to
improve its ability to handle When Stopped screensavers. If you try
this, please let me know how you find it:
http://www.tux.org/~peterw/slim/SaverSwitcher/

Thanks,

Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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


Re: [SlimDevices: Plugins] Saver Switcher problem

2007-05-28 Thread SumnerBoy

Peter, just an update, I have tried installing version 1.16 and there is
no change - i.e. the delay still exists.

I have just enabled debugging as you requested. I will post my findings
tomorrow morning.


-- 
SumnerBoy

SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924
View this thread: http://forums.slimdevices.com/showthread.php?t=35650

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