Bugzilla – Bug 10005
Web interface does not remember last player used
Last modified: 2009-07-31 10:32:03 UTC
For the past several days' builds the web interface does not appear to be remembering the last player used (FF 3.0, Ubuntu 8.10 client and Debian Lenny server). For me it always goes to the last player in the list, but this could be due to mac address ordering. In my case, the last player is a SliMP3. Running 7.3~23931 from .deb logitech repo.
QA has seen this behavior as well.
Please make sure you clear your browser's cache. I've broken this earlier this week in an attempt to fix bug 9947, but reverted again yesterday.
Clearing the cache was the first thing I tried this morning when I updated from the deb repo. To be absolutely sure, I just tried with a fresh Firefox profile and I see the same behavior.
Michael, this may be due to my fix for bug 9830 at change 23859. Some of default skin's handling is from the root which gets blocked from cookie handling becuase it doesn't match the m/html$/ test. this may be better, and still avoid unnecessary cookie processing: Index: C:/slim/7.3/server/Slim/Web/HTTP.pm =================================================================== --- C:/slim/7.3/server/Slim/Web/HTTP.pm (revision 23926) +++ C:/slim/7.3/server/Slim/Web/HTTP.pm (working copy) @@ -562,8 +562,8 @@ $request->push_header("X-Slim-CSRF",$csrfAuth); } - # Read cookie(s) for html files only - if ($path && $path =~ m/html$/i) { + # Dont' process cookies for graphics + if ($path && $path !~ m/(gif|png)$/i) { if ( my $cookie = $request->header('Cookie') ) { if ( hasCookieXS() ) { # Parsing cookies this way is about 8x faster than using CGI::Cookie directly
Thanks kdf, that seems to fix it!
change 23935
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.
Reduce number of active targets for SC