Problems with iTunes Genius

I recently got a 5th generation, 8gb iPod nano over the Christmas holidays, and boy is it sweet.  My last iPod was a 1st generation iPod nano, and the 5G nano is definately a huge improvement over my last iPod.

One of the cooler things about the new iPods is the Genius Mixes features.  From the Apple website, it says that Genius Mixes: “searches your iTunes library, finds songs that go great together, and creates multiple mixes you’ll love.”

And you know, it actually works quite well, at least for the first few weeks.  But as I started to add new songs to my library, Genius was not able to update itself using my new songs.   All attempts to update the Genius database would result in a cryptic error that says: “Could not complete the iTunes Store request. The store may be busy.”

Which is totally bogus, because my internet was fine, and I could access the iTunes Store with no problems.

A bit of Googling around shows that a lot of people have been experiencing the similar problems.  There are a lot of proposed fixes, such as: clearing your cookies, verifying your itunes xml library file, deleting your itdb files, etc.

These fixes have worked for some people, but it seems that a large majority of the people out there have not found a proper fix to this problem.

So we what do we know?  Well my internet is working fine so its not a networking proble, and the iTunes servers probably aren’t “busy”, since I can still access the iTunes Store. Genius updates were working properly at one point in time, but after adding some new songs, Genius would not update.

After some mucking around with some of the proposed   solutions, I finally found the source of the problem.

If you let iTunes automatically manage your music library, iTunes will secretly go behind your back and shorten the filenames of songs with names that are deemed to be too long.  Apparently, I had added a bunch of songs with very long filenames that also contain brackets (the  [  and ]  characters).

iTunes shortened those filenames in such a way that the matching right bracket was chopped off.  The unmatched brackets in the shortened filenames seemed to the be root cause of the apparent “network timeout”.

So in order to fix this, I went through all the files with unmatched brackets and removed the square brackets (thinking back on it now, a true geek would’ve written a Python script to do this for me).  Once I did that, Genius mysteriously came back to life, and all was well again .

Unusually, having unmatched parentheses casues no problem for the Genius update process.  So I guess the unmatched bracket case is one of the edge cases that the Genius programmers did not consider.

So Apple, please, if you read this,  stop using generic error messages.  That way I don’t have to pull my hair out figuring out how to fix your damn bugs.

I wonder if they have public defect tracking system, I should submit this as a bug :P

This entry was posted in Mac, Tech, Win32 and tagged , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments

  1. El Cattivo
    Posted March 29, 2010 at 1:43 pm | Permalink
  2. Posted March 30, 2010 at 1:27 pm | Permalink

    Thanks, I’ve just finished submitting a report now :P

  3. Andrew Bavetta
    Posted November 5, 2010 at 9:00 pm | Permalink

    An easy way to check for unmatched brackets is to use smart playlists. First construct a playlist of all songs having at least one ] (or left bracket) by searching your entire music library for ] (right brackets). In my case I have about 87K songs and 1300 had at least one right bracket. Then make a second playlist with all songs using at least one [ (left bracket). In my case there were 1294 songs with at least one [ (left bracket). So you see there were 6 songs with at least one right bracket but no left brackets. Then to find out what the offending songs are make a smart playlist of those songs in playlist #1 but not in playlist #2. Having done that I used the get info command for each of the six songs to correct the missing brackets.

  4. Posted November 5, 2010 at 9:03 pm | Permalink

    Thanks dude, that’s great workaround! Easier than doing it manually from the filesystem

    And as a further update, the iTunes team recently e-mailed me back about this problem. They know about it and are working towards a fix. i dont know how likely that is but I’ve had no problems with iTunes Genius so far!

  5. Andrew Bavetta
    Posted November 5, 2010 at 9:21 pm | Permalink

    An easy way to check for unmatched brackets is to use smart playlists. First construct a playlist of all songs having at least one ] (or right bracket) by searching your entire music library for ] (right brackets). In my case I have about 87K songs and 1300 had at least one right bracket. Then make a second playlist with all songs using at least one [ (left bracket). In my case there were 1294 songs with at least one [ (left bracket). So you see there were 6 songs with at least one right bracket but no left brackets. Then to find out what the offending songs are make a smart playlist of those songs in playlist #1 but not in playlist #2. Having done that I used the get info command for each of the six songs to correct the missing brackets.

  6. Andrew Bavetta
    Posted November 5, 2010 at 9:27 pm | Permalink

    Previous submission was to correct a typo in the first post. So far the only way I can get the Genius Update feature to work (without a timeout error) is to bypass my airport extreme router connect directly to the modem with an ethernet cable See:
    http://discussions.apple.com/message.jspa?messageID=12535045#12535045
    Haven’t tried the update feature after I removed the unmatched brackets. I’ll let you know if doing that makes any difference for me.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>