Thursday, October 09, 2008

Apple iTunes Genius Network Timeout

I was unable to turn on the Genius feature of my new iTunes 8.0x. Every time I tried to turn on this feature, I was met with frustration as the transfer stopped around 80% of the way. A Network Tiomeout error was usually the report. Sometimes I would get the message that the servers are too busy. After digging through the many replies to support forums. I did as many of the fixes as I could... they seemed to work for others but not for me. Last night, I hit the jackpot! Here is what I did.

  • I ran the scripts to weed out dead links to songs. (found none)
  • I ran my iTunes Library.xml file through Validator to check for spurious UTF-8 characters (found none)
  • I rebuilt my library several times; as a whole and incrementally.
  • I retried at different times of the day to rule out network congestion in Cupertino.
  • I verified that my AirPort and iMac had no firewall settings to get in the way.
Strangely, I was able to take some tracks and use my MacBook to turn the Genius feature on there while at work. This was unsettling to me and I couldn't give up the fight. So, I took the principle of a few of these fixes and decided that just maybe there are some characters that the Genius servers do not like but are not being flagged by Validator.

Here is what I did....

I found my iTunes Music Library.xml file and opened it in TextWrangler. Remember that it passed when run through Validator. The file looked good in TextWrangler, too, but TextWrangler has a wonderful tool included - Zap Gremlins. This function scours your file looking for odd characters that do not belong there. Apparently, it is much more stringent than Validator. My XML file was roughly 15Megs in size, so it really bogged down my system once loaded. I chose to replace the gremlins with a unique character. I copied that character to my clipboard and let it find gremlins to zap. After a few minutes TextWrangler came back to tell me I had 80 gremlins to replace!

I had TextWrangler show me the list of gremlins by searching for that unique character. I was then able to see all the offending tracks. What I found is that each of those tracks had a strange apostrophe in it. The apostrophe in each of those tracks was sharply angled; much different than the apostrophe on the keyboard next to your Enter key / under the double quotes. (Yes I know technically it is a single-quote).

I opened iTunes again and did a search for that strange apostrophe to get a list of tracks to work with. I then did the low-tech process of manually changing the strange apostrophe with the apostrophe next to my Enter key. For good measure, I deleted the files "iTunes Library Extras.itdb" and "iTunes Library Genius.itdb" from my "Music/iTunes" directory. Then closed iTunes, opened it again, and started the Genius feature.

This time it worked!

Now, your mileage may vary. You may find a different gremlin. But after weeks of effort, I finally got Genius to stop acting so retarded.

Labels: , ,

8 Comments:

Blogger SnotSucker said...

You da man Dorman, you da man!!!!

18:06  
Anonymous Anonymous said...

thanks for the genius hints. Looks like your comment spam filter could use some work though

19:57  
Anonymous Anonymous said...

I've been trying to resolve my iTunes Genius issues for several weeks. This is the first solution that worked! Thank you, Alan

23:25  
Blogger Unknown said...

thanks for your efforts. i tried to do what you have told me. i've had this error for 5 months now.

unfortunately i am not very good with this whole code and xml stuff, so my question is. when i open the file in textwrangler it looks something like this:

hdfm

10:49  
Blogger Unknown said...

hdfm

10:52  
Blogger Unknown said...

mmmh my whole comment can not be posted somehow. any way:

do i have to convert the file first, because i can't find a single "real" word in it. no track information no nothing..

thanks!

10:57  
Blogger Dorman said...

You shouldn't have to convert anything, XML is a text document. Make sure you are pulling the correct file.

10:20  
Blogger Unknown said...

I have been some problem with my connection and I thought could be my network card, how ever i wasn´t sure. So, I decided to looking for information by internet and try to understand the network problem. I am happy because all the solution which advice this blog are very useful and interesting.
costa rica investment opportunities gave me another alternatives to do the best investment, but of course i always will need a good network.

18:10  

Post a Comment

<< Home