Bugzilla – Bug 5146
HTML-encoded text appears in Playlist pane
Last modified: 2007-07-06 08:26:25 UTC
In my music folder is a "The Good, The Bad & The Queen" directory - which is displayed correctly in the left-pane of the web interface. However, if I click the gadget to play the whole album, then the playlist display in the right pane displays "<song> from The Good, The Bad & The Queen by The Good, The Bad & The Queen". It looks as if the track metadata is being double-encoded but only once-decoded: the actual page source contains "&amp;".
I'm not seeing this. Can you provide more details: screenshot (if not possible, which skin are you using?) file format of tracks? just to be sure, you might also want to force a cache refresh by clearing the browser cache manually and reloading, or refreshing the browser window several times.
Created attachment 2061 [details] Screen-capture of Safari 3.0 window demonstrating encoding problem Note the "&" text present in the Artist and Album names in the right-hand pane...
I've attached a screen-shot showing the problem occurring. I also noticed that the display of the SqueezeBox itself also displayed "&" when the title scrolled across - so this isn't purely a Web UI issue. And, honestly, the filesystem does have the files correctly named! $ ls -lR /storage/data/iAudio/Music/OGG/The\ Good\,\ The\ Bad\ \&\ The\ Queen/ /storage/data/iAudio/Music/OGG/The Good, The Bad & The Queen/: total 4.0K drwxrwxr-x 2 storage storage 4.0K 2007-06-17 02:19 The Good, The Bad & The Queen/ /storage/data/iAudio/Music/OGG/The Good, The Bad & The Queen/The Good, The Bad & The Queen: total 57M -rw-rw-r-- 1 storage storage 4.5M 2007-06-16 13:00 80's Life.ogg -rw-rw-r-- 1 storage storage 3.4M 2007-06-16 13:03 A Soldier's Tale.ogg -rw-rw-r-- 1 storage storage 3.5M 2007-06-16 13:01 Behind The Sun.ogg -rw-rw-r-- 1 storage storage 3.1M 2007-06-16 13:04 Green Fields.ogg -rw-rw-r-- 1 storage storage 5.1M 2007-06-16 13:03 Herculean.ogg -rw-rw-r-- 1 storage storage 4.2M 2007-06-16 13:00 History Song.ogg -rw-rw-r-- 1 storage storage 3.5M 2007-06-16 12:59 Kingdom Of Doom.ogg -rw-rw-r-- 1 storage storage 4.2M 2007-06-16 13:03 Nature Springs.ogg -rw-rw-r-- 1 storage storage 5.5M 2007-06-16 13:00 Northern Whale.ogg -rw-rw-r-- 1 storage storage 5.1M 2007-06-16 13:03 The Bunting Song.ogg -rw-rw-r-- 1 storage storage 9.9M 2007-06-16 13:07 The Good, The Bad & The Queen.ogg -rw-rw-r-- 1 storage storage 5.5M 2007-06-16 13:05 Three Changes.ogg (Notice how mangled track 12 has become in the screenshot)
Stuart, do these files have Vorbis Comments or are you only using the guess tag feature? Would you attach one of the ogg files in question?
D'oh! You're absolutely right - the problem wasn't in the SlimServer software, it was in the tags of the file itself. I've corrected the tags in the files, and now everything is fine! Sorry for troubling you :) (Although, as a low-priority enhancement, I wonder if there'd be any benefit in checking tags for errors such as this, and displaying them "correctly"... ?)