Importing top three tags from Last.fm
Inspired by a user request, I approached the good people at Last.fm to figure out how to import tags from their database. The work is not done, but here's a first shot at it. This plugin queries the Last.fm database and inserts the top three tags as comments into your songs and also into the beaTunes tag database. It's implemented as a
SongAnalysisTask, meaning, it will show up as an analysis option when you analyze songs with beaTunes (it will be at the very bottom, so you probably have to scroll down to it). Make sure to try this on few songs before tagging your whole library!
- Binary plugin - just place into beaTunes' plugin folder
- Source code - Maven2 project
Please see this posting to find out how to install the plugin.
Also, please note that the code is licensed under LGPL - so you are free to use it pretty much any way you want, modify it, make it better etc. The only thing that's missing from the source is the Last.fm API key - you would have to get your own. If you have any questions about the code, please contact me!
Post a Comment