Bug 5705 - Now Playing screen behavior depends on state of Squeezebox at Jive boot time
: Now Playing screen behavior depends on state of Squeezebox at Jive boot time
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: UI
: unspecified
: PC Windows (legacy)
: P1 minor (vote)
: 7.0
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-07 11:55 UTC by Clive Backham
Modified: 2008-05-15 13:04 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clive Backham 2007-10-07 11:55:27 UTC
I first noticed this weirdness back in version r616, and it's still present in r675.

If when you boot up the Jive handset, the Squeezebox is turned ON, then the Now Playing screen behaves normally. That is, when a new album is selected and you then go to Now Playing, the playlist shown is the one that's actually playing.

However, if when you boot up the Jive handset the Squeezebox is OFF, then only the first playlist set up is ever shown in Now Playing. Switch to a different album (which does play correctly, and the playlist shown on the Squeezebox itself is correct), and then go to Now Playing, the previous playlist is shown.

I'm running to 9/29 Windows build of Slimserver.
Comment 1 Ben Klaas 2007-10-30 10:31:56 UTC
a fix for Bug #5937 will cause this issue to disappear, as there will be a reduced home menu when the player is off.
Comment 2 Clive Backham 2007-10-30 12:20:44 UTC
I've looked at bug #5937, and I am convinced it has nothing to do with this bug, probably because I did not explain things clearly enough. Therefore I will try and describe the problem in more detail. In both scenarios, there is a SB2 (firmware 82) connected to SC7.0:

Scenario 1:
----------
a). SB2 is currently switched ON; Jive handset is OFF.
b). Boot up Jive handset.
c). Select some music to play.
d). Check "Now Playing" on Jive handset -> correct playlist is displayed.
e). Select some different music to play.
f). Check "Now Playing" on Jive handset -> new playlist is shown (ie. correct).

Scenario 2:
----------
a). SB2 is powered and connected to SC7.0, but turned OFF; Jive handset is OFF.
b). Boot up Jive handset, select "switch SB2 on" from menu.
c). Select some music to play.
d). Check "Now Playing" on Jive handset -> correct playlist is displayed.
e). Select some different music to play.
f). Check "Now Playing" on Jive handset -> OLD playlist is shown (ie. incorrect).

Note that the only difference between the two scenarios is whether the SB2 was switched ON or OFF at the time the Jive handset was booted.

It seems fairly certain that bug #3597 is nothing to do with this, so I've reopened this bug.
Comment 3 Clive Backham 2007-11-01 10:23:44 UTC
Just updated the Jive firmware to r772, and SlimCenter to the nightly build from 1st November. Behaviour has changed, so I thought I'd report it here.

If the Squeezebox is turned ON when the Jive is booted up (Scenario 1 in my previous comment), the behaviour is as before - ie. everything works fine.

If the Squeezebox is turned OFF when the ive is booted up (Scenario 2 in my previous comment), the Now Playing screen simply never shows anything. So things have changed, but it's still not correct.

(NB: in my previous comment, I made mention of bug #3597 at one point - this was a typo and should of course have been bug #5937).
Comment 4 Clive Backham 2007-12-21 09:20:52 UTC
As of r1228, it looks like this is no longer an issue.
The playlist displayed by Now Playing is now correct regardless of the state of the players when the JHB is booted up.

One minor issue remains, which is that the Now Playing screensaver sometimes doesn't kick in when it should,usually after the JHB has been left alone for a while with nothing playing, or left on pause for a few minutes.
Comment 5 Ross Levine 2008-01-11 18:36:45 UTC
Clive are you still noticing the lagging screen saver?
Comment 6 Clive Backham 2008-01-12 01:37:26 UTC
The behaviour is still sometimes different depending on whether a player is switched on at the time Jive is booted, but I'm not sure that boot-up is necessarily the main issue. I just tried another test, with firmware r1385:

When the Squeezebox was OFF when Jive is booted:
1. Play something and wait: Now Playing screensaver does NOT appear.
2. Press Home to return to home screen, then Home again: NP screensaver appears. (I believe it's supposed to show the playlist rather than the screensaver at this point).
3. Press Home to return to home screen and wait: screensaver does NOT appear.
4. Go to Settings > Screen > Screensavers > When Playing > preview Now Playing: playlist appears(!). This seems to be a step backwards: in earlier firmwares previewing the screensaver in this way often seemed to correct the problem and the Jive would then start displaying the screensaver as expected.
5. Press Home to return to home screen and wait: screensaver does NOT appear.
6. Now press Home again: playlist appears.

When the Squeezebox is already playing when Jive is booted:
1. Wait: Now Playing screensaver appears.
2. Press Home to return to home screen, then Home again: playlist appears.
3. Wait: NP screensaver does NOT appear.
4. Press Home to return to home screen and wait: NP screensaver does NOT appear.

In most cases, once the screensaver has appeared, if you leave it alone, then it does stay in sync with what's being played (ie. the track names change correctly on the screensaver).

It seems to me that the Now Playing screensaver is just a bit unpredictable.
Comment 7 Ross Levine 2008-01-14 13:48:58 UTC
I'm able to reproduce this bug exactly as Clive mentions in comment 6 with r1404. 
Comment 8 Ben Klaas 2008-01-28 15:05:40 UTC
Clive/Ross, am I correct in saying that the behavior described in comment #6 does not happen any more? I went through both sets of steps several times and couldn't reproduce. My hunch is that some related fixes have come in recently that fixed this behavior.

There is a remaining issue to be fixed yet, regardless.
Now Playing menu item throws an error when the player is off

can you retry and update the bug with what you find?

If you confirm that the comment #6 behavior is gone and I get the Now Playing item to work as desired when the player is off, that's when this can close.
Comment 9 Ben Klaas 2008-01-28 15:46:43 UTC
jive r1667 and SC change 16868 have support for a single item on the playlist that says 'Off' when the player is off. Selecting 'Now Playing' from the main menu when the player is off will display this.

Will wait for comment from Ross/Clive, after which, all things working properly, this bug can close.
Comment 10 Clive Backham 2008-01-29 11:30:25 UTC
Currently running r1668, and I no longer see the problem that I reported. In fact I believe it was also OK in r1658, but couldn;t say for sure. So, in the context of my system (1xTP & 1xSB2, both wired) this is now fixed.
Comment 11 Ben Klaas 2008-01-29 11:31:28 UTC
...and there was much rejoicing!

moving to RESOLVED
Comment 12 Ross Levine 2008-01-29 18:41:39 UTC
This looks great Ben! r1676, 16906.

Ray off while Jive booted:
Play something and wait, NP screen saver appears as it should. Press home to return to home screen, wait, NP screen saver appears as it should. Settings > screen > screen savers > now playing, preview works. Press home and wait, NP screen saver appears as it should. Pressing home additional times shows the playlist as it should. 

Ray already playing while Jive booted:
Clicking home and waiting brings the NP screen saver, as it should. 

Verified to be fixed. /me rejoices!
Comment 13 James Richardson 2008-05-15 13:04:55 UTC
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1

Please try that version, if you still see the error, then reopen this bug.

To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html