Scripts to automatically tag your music library with Last.fm data.
The following gems are utilized and must be installed separately.
You will need to set an environment variable with your Last.fm API key, or edit a script file and include your key manually.
Query Last.fm for tag information. This output will be written to artist_tags.json.
ruby scripts/genre.rb --refresh-tags
Using the contents of artist_tags.json, update the id3v2 tags in your MP3 files. Assumes music library is organized by Artist.
ruby scripts/genre.rb --update-tags
Last.fm is a registered trademark of Last.fm Ltd. This project is not in any way endorsed by or related to Last.fm Ltd. It is a personal project of jramos. The code is being provided for educational purposes only. The author is not responsible for any damage or loss of data resulting from their use.
Please backup your MP3 library before running these scripts. Use at your own risk.