Love the script. Thank you very much indeed
One thing I would suggest (if possible) is to change the selecting of tracks from a library.
Say last.fm (xml) says the top track is Thunderstruck (for AC/DC).
I end up with Thunderstruck from a Greatest Hits album or a live album and not from their studio album. Now I know (I think!?) that you have no album info but at least for me tag my Live albums as 'live' and my Greatest Hits albums as 'Greatest'. Maybe the script could be tweaked to avoid those unless no match is found elsewhere ?
Would imagine its not too big a change
Maybe an option could be included like..."Try to Ignore" and you supply values like 'live':'greatest':'remix' ?