
Last.fm DJ
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
This is yet another Auto DJ script, which uses last.fm to look up similar tracks.
When the last track of the playlist is played, similar tracks are looked up on last.fm. It behaves differently based on the length of the playlist: If the playlist consists of only one track, all similar tracks (that are found in the local library) will be added to the playlist. If the playlist consists of more than one track, only one random similar track will be added to the playlist.
If no similar tracks are found, a random song will be added to the playlist.
This is my first Amarok script. It is quite simple. I wrote it to mimic the functionality of a Last.fm MediaMonkey script I use on my windows partition. I have only used it on Amarok 2.8 on Xubuntu 13.10, and I have no idea if it will work for anyone else. Last changelog:
When the last track of the playlist is played, similar tracks are looked up on last.fm. It behaves differently based on the length of the playlist: If the playlist consists of only one track, all similar tracks (that are found in the local library) will be added to the playlist. If the playlist consists of more than one track, only one random similar track will be added to the playlist.
If no similar tracks are found, a random song will be added to the playlist.
This is my first Amarok script. It is quite simple. I wrote it to mimic the functionality of a Last.fm MediaMonkey script I use on my windows partition. I have only used it on Amarok 2.8 on Xubuntu 13.10, and I have no idea if it will work for anyone else.
0.1:
First release.
0.2:
- Added menu item in Tools menu to enable/disable the Auto DJ.
- Added menu items for manually adding similar tracks.
- Adjusted the randomness when adding one song.
Ratings & Comments
3 Comments
It is working nicely on ubuntu but needs a button for quick enable/disable (or a shortcut or a menu item etc.)
I have added an enable/disable menu item in the Tools menu. Thanks for your feedback!
Perfect, the changes work great, exactly what amarok 2.x needed for large collections. cheers!