Bug 7369 - Ampersand in iTunes playlists names kills those playlists
: Ampersand in iTunes playlists names kills those playlists
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: unspecified
: PC Windows XP
: P2 normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-01 10:17 UTC by Ian
Modified: 2009-07-31 10:17 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 2008-03-01 10:17:02 UTC
I have recently changed over to use iTunes and have duplicated my twelve Gilbert and Sullivan opera playlists with names like "G&S Mikado".  It works fine in iTunes but when SlimServer reads the name, it displays the first playlist as "G" and does not display any subsequent playlists.  I have gotten around it by renaming them all "G and S Mikado" etc. but special characters in the iTunes playlists need to be readable by SlimServer.

I believe I have the lastest release of SlimServer but I could not find an "About" in help to identify which version I have.
Comment 1 Blackketter Dean 2008-03-01 19:57:43 UTC
You can check the version number with the remote under settings -> information or via the web interface under settings at the bottom of the main screen or under the settings tab.  That would be a big help.
Comment 2 Ian 2008-03-02 10:41:31 UTC
After detecting this bug in 6.5.4 I installed the latest beta version.

SqueezeCenter Version: 7.0 - 17779 - Windows XP - EN - cp1252
Server IP address: 192.168.0.201
Perl Version: 5.8.8 MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt 
Platform Architecture: 586
Hostname: billiard-room
Server Port Number: 9000
Total Players Recognized: 2
Cache Folder: C:\Documents and Settings\All Users.WINDOWS\Application Data\SqueezeCenter\Cache
Plugin Folders: C:\PROGRA~1\SQUEEZ~1\server\Slim\Plugin, C:\PROGRA~1\SQUEEZ~1\server\Plugins

The same error occurs in the latest version.  If several playlists are named "G&S xxxx" where xxxx is the name of the Gilbert and Sullivan opera, the first playlist is displayed with the name "G" and its contents are correct.  The remaining playlists with that format are not displayed (presumably because they would have the same name - "G").
Comment 3 Ian 2008-03-02 11:16:39 UTC
The offending line in the iTunes Library.xml file is:
<key>Name</key><string>G&#38;S Cox and Box</string>

I tried putting a space before and after the ampersand ("G & S Cox and Box") to see if that fixed the bug but it did not.  Interestingly, I have named the albums "Gilbert & Sullivan: xxxx" and this is displayed properly in the album lists and with the tracks in the playlists.  

This seems to be specific to iTunes playlists and I presume would affect any special character contained in the name.  I had no problem with these names when the playlists came from Window Music Player.  I am surprised someone hasn't noted this with R&B, which I tried and produced the same error.
Comment 4 Spies Steven 2008-03-03 13:20:53 UTC
I'll see if I can reproduce.
Comment 5 Spies Steven 2008-03-04 14:56:52 UTC
I was able to reproduce easily on Mac OS X as well.

Michael, would this be one for you?
Comment 6 Michael Herger 2008-03-17 09:32:27 UTC
I assume you're still seeing this on 7.0?
Comment 7 Michael Herger 2008-03-17 10:21:21 UTC
Kevin - any idea what's going on here? I'm seeing the name is already cut off when handlePlaylist is called. Everything before seems to be buried in XML::Parser. Thus I have no idea why it doesn't work for playlists, when it does for song titles.
Comment 8 Ian 2008-03-20 01:31:04 UTC
In answer to comment #6, as per my response in comment #2, I still have the problem in version 7.0
Comment 9 Michael Herger 2008-03-28 07:11:17 UTC
change 18106 - allow multiple non-markup segments for the playlist title
Comment 10 James Richardson 2008-05-08 15:43:55 UTC
Verified fixed in 7.0.1 - 19325
Comment 11 James Richardson 2008-05-15 12:28:38 UTC
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1

Please try that version, if you still see the error, then reopen this bug.

To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html
Comment 12 Chris Owens 2009-07-31 10:17:44 UTC
Reduce number of active targets for SC