Bug 8169 - Controller Player Info shows wrong signal strength
: Controller Player Info shows wrong signal strength
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Settings
: unspecified
: PC Debian Linux
: P3 minor (vote)
: 7.2.1
Assigned To: Ben Klaas
:
Depends on: 5582
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-15 18:21 UTC by Marc Auslander
Modified: 2008-12-15 12:40 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 Marc Auslander 2008-05-15 18:21:04 UTC
My receiver, according to the server, is running at about 44%.  But the controller player info page shows 16% and this number doesn't change.

Retrobrowser shows the correct signal strength.

If I switch the controller to another player and back to this, the signal updates to the current value.

I suspect the controller player info applet isn't refetching the current signal strength value each time you enter it.  In fact, IMHO, it should update when in view as well.
Comment 1 Ross Levine 2008-05-19 17:08:02 UTC
Strange I'm unable to reproduce this. When I click the back button on SBC and then  continue to player information again, it shows me the updated signal strength. 

What version SqueezeCenter?
Comment 2 Marc Auslander 2008-05-19 17:19:48 UTC
: 7.1 - 19841 
r2475

It seems that each time I visit the player tab in settings on the web, the next time I visit player info on the conroller, its updated to the value seen on the web.  But if I visit status, I see changes not reflected in the controller.
Comment 3 Ross Levine 2008-05-19 18:36:25 UTC
What web browser are you using? I wonder if this could have something to do with a cache issue. 
Comment 4 Marc Auslander 2008-05-19 19:31:04 UTC
First - I see the "stuck"  behavior when no web browser is active.  As I originally reported, connecting to a different player and then back "updates" the value displayed.

To answer the question, Firefox 3RC1
Comment 5 Ross Levine 2008-05-20 15:53:14 UTC
(In reply to comment #2)
> But if I visit status, I see changes not reflected in the controller.

What is status? What are you comparing, the web interface player settings information, and settings - advanced - playername information (SBC interface)?

As I understand, this bug is about Squeezebox Controller displaying the wireless signal strength of a Squeezebox Receiver (Settings - Advanced - playername information), but the wireless signal strength of SBR changes, and when you click back, and then playername information again (to refresh), SBC is not reflecting the new signal strength. Is that correct? If so what is changing the signal strength, are you moving SBR? 

Also when you see two different values, which is correct and which is incorrect?


Comment 6 Marc Auslander 2008-05-20 16:14:54 UTC
The simple statement is - if I do nothing else but check the signal strength of my receiver with the controller, the indicated value does not change.  Over long periods of time.  This is also true if I use the controller to look at one of my SB3's.

With the SB3, you can bring up the signal strength display, and watch it change.  And you can at the same time redisplay the info on the controller, which does not change.

A number of actions will cause the indicated value to change - and then stay the same as long as I don't do something "special".

Actions which "update" the value shown by the controller.

1.  "Choose player to a different player and then back".
2.  View the player tab of settings for that player.  Each time I switch away and back, if I again display info on the controller, it will match what I see on the player page.  Note that this is not necessarily the current signal strength.

As to why signal strength changes - it just does - as conditions in the house change.  And since I have multiple access points, it changes as a device switches access points.

Since the controller displays a fixed value "forever", it is clearly wrong.  See above about watching the SB3 display for confirmation.

Comment 7 Ross Levine 2008-05-20 18:45:10 UTC
Thank you for clarifying, now I understand, almost. :)

When using Squeezebox Controller to see the signal strength of my Squeezebox Receiver, if I want an update I just click the back button, and then view SBR info one more time, and the number is updated. Are you saying the number is not updated when you do this simple step? I understand that when you switch players and switch back its updated, that sounds like a lot of work. You should be able to simply click the back button then center button and see an update, can you confirm that you are not? If so this is indeed a bug I'll just need to try to reproduce that. 

If you're simply asking for the signal strength to update dynamically like the Squeezebox Classic (aka SB3) then this would be an enhancement request. 
Comment 8 Marc Auslander 2008-05-20 19:03:40 UTC
I'm not asking for a live display.

Back followed by middle does NOT update the display.

And remember - 7.1 19909 and R 2475 - although I don't know exactly when this failed in terms of releases.
Comment 9 Marc Auslander 2008-05-22 08:29:18 UTC
Some more evidence.

Look at player info and see a signal value that doesn't change if I go back and look again.

Open retro-browser and go to the signal display.  Watch the signal changing in real time - retro-browser manages that as well.  The value is very different from the above value, which must have been stale.

Now close retro browser and go back to player information.  Still see the same old value, even though retro browser has been betting new values via some path.
Comment 10 Ross Levine 2008-05-27 16:09:50 UTC
With 7.1 r2507 I'm able to reproduce this. Not sure why I wasn't able to before. 

7.1 - 20208 w/ r2507 this is reproducible with my SB2 and SBR. Via Squeezebox Controller browse to Settings - Advanced - player Information, note the wireless signal strength. With a web browser view the player info in server settings and note the signal strength has changed, if it hasn't force it to change by moving things around or turn on the microwave :) Then back out with SBC, go back to player Information and you'll see the old value noted earlier, not updated. WebUI shows the appropriate signal strength when the browser is refreshed. 

Indeed retrobrowser matches the WebUI. 
Comment 11 Ben Klaas 2008-06-06 13:32:48 UTC
We'll be creating a new mechanism for retrieving server/player data from SqueezeCenter, covered by bug#5582. This should be able to tap into the same method for retrieving dynamic information about the player, including wireless signal strength.
Comment 12 Ben Klaas 2008-06-18 13:58:50 UTC
I've removed wireless signal strength from the Player Information item.
Comment 13 Marc Auslander 2008-06-18 14:44:39 UTC
This isn't a fix - its a reduction in function.

What am I supposed to do - open an enhancement to get the function back.

Or am I missing something here.
Comment 14 Ben Klaas 2008-06-18 15:25:02 UTC
Yes, it's a reduction in function. The intention was to let the fix for bug 5582 supply the wireless signal strength information to the user.

The issue right now is that the player information item is populated when the player is connected, not when the menu item is called. It's a fairly non-trivial fix, and I'm of the opinion supplying bad information is worse than supplying no information, hence its removal.

I'll reopen this and target for 7.2.
Comment 15 Ben Klaas 2008-08-20 12:39:47 UTC
because of some logistical issues, this is going to be in SC 7.2.1 and not 7.2.0. 7.2.1 currently exists in a private branch right now, and will be merged into 7.2/trunk in the fairly near future.

fixed in 7.2.1 branch, change 22791
this also requires controller firmware 7.2 r2873 or later

a fix for bug 5592 will supercede this, probably in 7.3
Comment 16 James Richardson 2008-10-13 11:55:04 UTC
Verified fixed in 7.2.1-23518
Comment 17 James Richardson 2008-12-15 12:40:19 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.