0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Easily create playlists of top Lastfm tracks from your iTunes library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 2.14
~> 0.8
~> 2.8
~> 1.16

Runtime

 Project Readme

Code Climate

Lastfm iTunes Playlist Creator

Easily create playlists of top Lastfm tracks from your iTunes library.

http://jonaustin.io/blog/2014/01/17/lastfm-itunes/

Installation:

$ gem install lastfm-itunes

Follow the prompts to generate a playlist:

$ lastfm-itunes

Creating a playlist from Artist top tracks:

Creating a playlist from Artist top tracks

Creating a playlist from User top tracks:

Creating a playlist from User top tracks

Notes:

  • 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: ""

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add tests.
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

License

Copyright (c) 2014 Jon Austin.

Released under the MIT license. See LICENSE.txt for details.