Bug 985 - now playing display web settings don't match remote settings
: now playing display web settings don't match remote settings
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: unspecified
: All All
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-08 23:24 UTC by KDF
Modified: 2008-08-18 10:53 UTC (History)
0 users

See Also:
Category: ---


Attachments
new player method to create playingDisplayMode list (4.12 KB, patch)
2005-03-21 12:10 UTC, KDF
Details | Diff
dynamic inclusion of showfullness (5.09 KB, patch)
2005-03-21 12:59 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2005-03-08 23:24:10 UTC
Using the remote, pressing NOW PLAYING, the display will toggle through various
displays and visualisers.  Using the web setting seem to leave the visualiser as
is, only changing the now playing information.
Comment 1 KDF 2005-03-21 12:08:20 UTC
sending a patch for this in a moment, creates player method for listing
displaymodes.  Squeezebox uses what is there now, SB2 gets a new set.
Comment 2 KDF 2005-03-21 12:10:04 UTC
Created attachment 350 [details]
new player method to create playingDisplayMode list

This moves the playingDisplayMode options to a new player method.  This way we
can create a matched set by player type.  You may want to change the strings as
you see fit.  I can commit tonight if this is acceptable or you can go ahead if
you want it in sooner.
Comment 3 Vidur Apparao 2005-03-21 12:23:11 UTC
Looks good. Commit tonight. Thanks!

A different, but related, bug is that we're ignoring the showbufferfullness pref
for SB2. Seems like we're always reporting the wrong number of modes. If you're
able, care to fix that as well with this checkin?
Comment 4 KDF 2005-03-21 12:25:45 UTC
we are?  where are you seeing this?  The web UI seems to have the right contents.
Comment 5 KDF 2005-03-21 12:32:11 UTC
oh, I think I see it.  you are using @showBar for the mode count, then adding. 
It seems that showBar already includes bufferfullness, so adding 1 isnt right. I
should be able to fix this, and will.  Is this what is causing 1141?
Comment 6 Vidur Apparao 2005-03-21 12:38:59 UTC
I bet it is what's causing the crash.
Comment 7 KDF 2005-03-21 12:46:42 UTC
Squeezebox2.pm, line 137 shoudl read:
$count -= Slim::Utils::Prefs::clientGet($client,'showbufferfullness') ? 0 : 1;

this is the quick fix.  I've got a better one in mins that will use the new
method and have that method include showbufferfullness or not, as set in the pref.
Comment 8 KDF 2005-03-21 12:59:04 UTC
Created attachment 352 [details]
dynamic inclusion of showfullness

This should now clear up bug1141 as well.  Also cleans up the args for setup. 
Use the new method to dynamically include the bufferfullness if set, and use
this same method to set the mode count (allows for future addins)
Comment 9 KDF 2005-03-21 19:05:40 UTC
committed r2640