Great thanks, I'm using it on MM3 at the moment and working well. Can I request a couple of features you might consider adding?
Firstly, (the easy one) would be an option to add the seed track to the playlist (even better to add it as the first song).
Secondly, requires a bit more work, would be to query last.fm for the top tracks of an artist (eg http://ws.audioscrobbler.com/1.0/artist ... tracks.xml
), and add the option to prioritise these if they are in the library. Since my library does not have ratings, I keep ending up with b-sides and album tracks when I would prefer some of the more known songs by an artist.
You could use the query to find the top X tracks from an artist, choose a random one from that list (or add an option to loop through from top to bottom?), and attempt a match within the library. If none are found, default to any song by the artist. There are a few issues of course....it would slow the script down if too many track queries are made, and it relies on decent tag information to match a track name (unless you can do an sql search that would find similar names? im not sure if this is possible...)
Let me know what you think, I get the feeling this script doesn't have the exposure it deserves! Took me ages to find something like this that works!