Skip to content

The Plautocompleter turns tiny playlists into slightly longer ones. It's playlist autocompletion made easy.

License

Notifications You must be signed in to change notification settings

wowhack/plautocompleter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plautocompleter

Playlist autocompletion

Start the web service

  • Install the heroku toolbelt: https://toolbelt.heroku.com/
  • Create a virutalenv: virtualenv -p $(which python2) env
  • Activate: source env/bin/activate
  • Install the requirements: pip install -r requirements.txt
  • Set the EchoNest API key in your env: export ECHONEST_API_KEY=***
  • Run using foreman: foreman start

TODO

Write some tests

The input to the playlist generator is a playlist, on this format:

{
    "id": "2GrYmVOZTjto09GzcEEqLP",
    "name": "Sandras",
    "tracks": [
        {
            "artist": "Spice Girls",
            "name": "Wannabe - Radio Edit",
            "uri": "spotify:track:1Je1IMUlBXcx1Fz0WE7oPT",
            "original": true
        },
        {
            "artist": "Iron Maiden",
            "name": "Run to the Hills - 1998 - Remaster",
            "uri": "spotify:track:4Z4ZLBzCXSlHSCaxZ3WS7p",
            "original": true
        },
        {
            "artist": "Björk",
            "name": "Army of Me",
            "uri": "spotify:track:0pXQWCgKlh9ZiXcIE6wwC4",
            "original": true
        }
    ]
}

About

The Plautocompleter turns tiny playlists into slightly longer ones. It's playlist autocompletion made easy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •