one more thing i've noticed - i *think* that in order for last.fm to return results properly, any &'s need to be replaced by 'and'.
eg - i've got track tagged with an artist "bob marley & the wailers", and these never return results from last.fm for top album tracks, no artist pictures, etc...
if you view
http://ws.audioscrobbler.com/1.0/artist/bob marley and the wailers/similar.xml
you get results, but when you view
http://ws.audioscrobbler.com/1.0/artist/bob marley & the wailers/similar.xml
you get an error.
maybe getValidURLLastFMString needs to have a search and replace for & -> and in it?
eg - i've got track tagged with an artist "bob marley & the wailers", and these never return results from last.fm for top album tracks, no artist pictures, etc...
if you view
http://ws.audioscrobbler.com/1.0/artist/bob marley and the wailers/similar.xml
you get results, but when you view
http://ws.audioscrobbler.com/1.0/artist/bob marley & the wailers/similar.xml
you get an error.
maybe getValidURLLastFMString needs to have a search and replace for & -> and in it?