Skip to content
This repository has been archived by the owner on Apr 15, 2018. It is now read-only.

Make spring, summer, fall, and winter playlists from your listening history on Last.fm.

License

Notifications You must be signed in to change notification settings

cheshire137/seasonal-playlister

Repository files navigation

SeasonSound

Make spring, summer, fall, and winter playlists from your listening history on Last.fm. Create your playlists on Spotify or export them as CSV or JSON.

Screenshots

Last.fm user choice


Year and season choice


Playlist creation

To Do

  • Add ability to create playlists with Google Music. Maybe wait until there's an official public API. :/
  • Offer sorting filtered tracks by name, artist, and play count.
  • Tests!

How to Develop

First Time

You will need npm, Ruby, and bundler installed.

npm install -g bower
npm install -g grunt-cli
cp env.sh.sample env.sh

Register for a Last.fm API account. Modify env.sh and fill in your Last.fm API keys and secrets, as well as a session key. You can run openssl rand -base64 40 to generate a random session key.

Every Time

npm install # also installs necessary gems and bower packages
foreman start -f Procfile.dev
open http://localhost:5000

The Sinatra server serves up the AngularJS app as well as watches for changes to files as you develop, to recompile CoffeeScript and SASS as necessary.

How to Deploy to Heroku

Create a new app on Heroku.

git remote add heroku git@heroku.com:yourherokuapp.git
heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby.git
heroku config:set NODE_ENV=production
heroku config:set LASTFM_API_KEY=your_lastfm_api_key
heroku config:set RACK_ENV=production
heroku config:set SESSION_KEY=your_session_key
./deploy.sh
heroku ps:scale web=1

About

Make spring, summer, fall, and winter playlists from your listening history on Last.fm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published