Pragmatism in code

If you suffer from a non-working iTunes genius, you may find that the following fix is of some help. I recently changed my mac, and restored everything from my time machine backup, but after synching my ipod, I noticed that there were no genius mixes on the device. A bit of further digging and I found that no matter what I did I could not get genius to work in Itunes.

Selecting 'Start Genius' whilst clicking on a track simply returned a message telling me that genius was not available for the particular track, and that I should update genius or select another track. Unfortunately, neither worked.

A trawl through the web returned a couple of things to try, such as closing itunes and deleting all genius related files in the library/itunes/ folder, making sure all songs were checked, even, trying genius in different view layouts. Unfortunately none worked.

Eventually, I managed to track the issue down to something very simple, and also unrelated to my recent update. It turns out that a recent import of songs created with a different program, had some illegal (non alpha-numeric) characters in the ID3 tags. I changed these characters to something readable, and magically the genius then started to work.

it appears that non alpha-numeric characters cannot be processed by the iTunes store, my guess is that they make the track info unreadable, so genius cannot determine what songs you have.

A simple fix to a frustrating problem, I hope this helps someone else out.

iTunes 10