Bugzilla – Bug 1248
Artists containing special characters in iTunes are missing
Last modified: 2008-08-18 10:54:04 UTC
Hi, On Win XP SP2 running Slimserver 6.0.0 r2781, using iTunes and specifying the location of library and music folder, I see the following bug: in iTunes I have 112 artist and SS I have 108. I checked which artists are missing: they all contains special characters as seen in iTunes: 1) Nils Petter Molv�r 2) Andr� Previn 3) Arvo P�rt 4) Fr�d�ric Hartmann apparently SS V6 ignores them. Rescanning the DB, wipping cache, recreating the DB doesn't help. Michel
Michael - is this XP Pro or XP Home? Also - what is the filesystem you're using? FAT32 or NTFS? Thanks.
Also - what program did you use to rip the tracks?
Dan, XP PRO SP2, NTFS. All my collection had been ripped with iTunes and directly compressed to Apple Lossless. I deinstalled slimserver, reinstalled 5.4.1 and it is giving the correct count (the 4 artists are listed). Then deinstall 5.4.1, resinstall 6.0.0 and I still have the same 4 artist missing! itunes: 115 artists, 229 albums, 2734 songs 5.4.1 : 115 artists, 229 albums, 2734 songs 6.0.1: 111 artists, 225 albums, 2638 songs Michel
Michael - would it be possible to upload a zip file with one or two of those songs? Thanks.
Yes sure, where can I upload or email? Michel
You can create an attachment to this bug.
Hi Dan, for some reason it did not work via the upload here in the bug tracker, I sent you a PM with one song attached. Hope this help. Michel
I get this as well. For example Bjork is completely missing from SlimServer bcos I have the accent on the o. I believe this is caused by iTunes XML escaping certain characters. Let me know if I can provide any debugging.
I am not sure it is due to iTunes XML. Here is a extract of my iTunes library: </dict> <key>720</key> + <dict> <key>Track ID</key> <integer>720</integer> <key>Name</key> <string>Fratres</string> <key>Artist</key> <string>Arvo P�rt</string> <key>Composer</key> <string>Arvo P�rt</string> The artist "Arvo P�rt" is listed correctly with the accent but it is one of the 4 that doesn't appear in slimserver. I can also send my iTunes library xml file if that helps.
I think the problem is with the location field more than anything. <key>Location</key><string>file://localhost/E:/Bj%C3%B6rk/The%20Times%20Sampler/09%20possibly%20maybe%20with%20the%20brodsky%20q.mp3/</string> My speculation is that SlimServer is not expecting that to have been escaped, doesn't find the file and drops it out of the database?
Yes - could everyone upload their .XML files? Also - what OS are you running on? If it's Windows, is it SP2? Thanks.
If anyone is running the ActiveState version - could you try editing server/Plugins/iTunes.pm, and at line 655, change: my $file = Slim::Utils::Misc::pathFromFileURL($url, 1); to: my $file = Slim::Utils::Misc::pathFromFileURL($url, 0); Thanks.
Created attachment 411 [details] My iTunes xml library Itunes XML library. Running on Win XP SP2.
Hi Dan, I tried changing my $file = Slim::Utils::Misc::pathFromFileURL($url, 1); to: my $file = Slim::Utils::Misc::pathFromFileURL($url, 0); it works! The albums and songs with accents are now visible in slimserver. I now have the same counts in iTunes and slimserver. Michel
Great - fixed in Subversion change 2925 - it will be in tonight's build.
Yes this is good. I'm still missing over 200 tracks but I don't know what they are!
This is back in 6.5 - can this bug be re-opened? Tracks from iTunes library that contain accented characters in filename+path do not appear in SlimServer after full scan or rescan. Tracks with accented characters in tags but not filename+path do appear correctly. SS 6.5, iTunes 6, Win XP Home Here's what's in the iTunes XML for location of one of my missing tracks: <string>file://localhost/E:/Bj%C3%B6rk/The%20Times%20Sampler/09%20possibly%20maybe%20with%20the%20brodsky%20q.mp3</string>