Bug 2386 - status.html (partially?) not uf8 encoded
: status.html (partially?) not uf8 encoded
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.2.0
: PC All
: P2 normal (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-27 00:16 UTC by Michael Herger
Modified: 2008-09-15 14:39 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 Michael Herger 2005-10-27 00:16:32 UTC
_Some_ elements of status.html do not seem to be utf8 encoded. When I add the 
big5.mp3 from the test folder to my playlist, it shows up correctly in the 
playlist (as far as I can read the signs :-)), but garbage in the status panel.

I think this is an issue I've seen before when using Handheld, but now with EN, 
Moser, NBMU, too.
Comment 1 KDF 2005-10-27 09:56:28 UTC
is this really only the official release where you see it?
anything like it in trunk or branch?
Comment 2 Michael Herger 2005-10-27 10:50:37 UTC
Nope, I didn't verify the version, assuming it was trunk. I'm experiencing this with the trunk version and 
the unicode files from the test folder.
Comment 3 KDF 2005-10-27 11:10:49 UTC
in the case of EN, it appears status.html still uses browseid3 for one.  it also
uses artist and album, whereas the playlist is using itemobj.artist and
itemobj.album.  Perhaps this is a common pattern?
Comment 4 Michael Herger 2005-10-27 14:00:40 UTC
You're right, it's using album instead of itemobj.album.title that causes 
problems. Tested with EN and Moser.
Comment 5 KDF 2005-10-27 14:43:21 UTC
I'm of the mind to standardise using itemobj values for web UI. (I've already
converted several cases thus far)
sound good to you, robert?
Comment 6 Dan Sully 2005-10-27 15:39:21 UTC
Please do.
Comment 7 Robert Moser II 2005-10-27 16:39:23 UTC
Definitely.  Although if it looks to be a lot of work I would hold off on it
until we convert to looping in TT rather than in Pages.pm, since that will
involve some rewriting anyway.
Comment 8 KDF 2005-10-27 16:47:54 UTC
its not very tough.  I've already got EN fixed. It is just a case of using
tracklink.html for most of them.  Of course, for Moser skin, it would need a
custom version of tracklink.html to fit the standard.  Since you use the same
formatting for the "Now playing" line at the top, as your playlist, it should
work out nicely. At least, that's what I'll do to get 6.2.1 looking ok (in fact,
I'll just tweak the text parts of the link and convert to browsedb for anything
that isn't)

Comment 9 KDF 2005-10-27 18:54:10 UTC
quick fix committed to trunk at change 4889
modified version to fit 6.2.1 committed at change 4890

lots of room for optimisation left as the looping is brought in, but this
problem should now be fixed.