Easily create playlists of top Lastfm tracks from your iTunes library.
http://jonaustin.io/blog/2014/01/17/lastfm-itunes/
$ gem install lastfm-itunes
$ lastfm-itunes
-
Each artist in the library requires a separate API call to Lastfm to get the top tracks. As a result generation could several minutes or more if there are hundreds or thousands of artists to fetch.
-
It does not support tracks stored in the cloud. Haven't looked into whether this is possible or not. Feel free to send a pull request.
-
For convenience, lastfm credentials may be stored in ~/.config/lastfm-itunes.yml If that file exists, then it will auto-fill the Lastfm API key and secret.
api_key: ""
api_secret: ""
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests.
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2014 Jon Austin.
Released under the MIT license. See LICENSE.txt
for details.