Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Usage: Just start it up and it'll get the currently playing track, connect to last.fm and add 7 songs by those artists to the playlist. You can edit the script to change the number if you like. If the playlist is empty it will choose a random track from your library and (optionally) start playing it.
I added a sort of "game" where it'll show you a menu of the suggestions it came up with, and you can choose which one you'd like to hear next. It's kind of dumb but it's something to do. Set interactive to 'True' to turn it on.
- Very nice! However, it did crash for me with Python 2.5 in interactive mode with TypeError: show_menu() takes exactly 1 argument (2 given), and I seem to get UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128) sometimes too. And also, the playlist will be rather cluttered after some using, do you think it would be possible to make mpd remove songs as they finish playing? --lqr[AT]luftslott[DOT]org
- You can fix the show_menu error but putting "connection," in the argument list. --yogan
whoops, permissions were wrong on the lastfmpdqc directory. i fixed it so if you havent been able to download, it should work now. i recently started using mpd again so i'm probably going to work some more on this.
For newer Python versions replace
from elementtree.ElementTree import ElementTree
from xml.etree.ElementTree import ElementTree
See also: Playlistbuilder