Given some music for working and some music for breaks, generate a pomodoro playlist: ~25m of work music followed by ~5m of break music.
- optionally, create a virtualenv to store your stuff and activate it
pip install -r requirements.txt- create a Spotify app (and in app settings, set "redirect URI" to
http://127.0.0.1:8080) - put your app credentials in your environ
export SPOTIFY_CLIENT_ID='xxx' export SPOTIFY_CLIENT_SECRET='yyy'- or if we're buds, just ask me to lend you my creds
- generate your playlist with
./app.py [work_music_url] [break_music_url] [...settings...](see./app.py -hfor full usage instructions).- the
work|break_music_urlparameters may be anyopen.spotify.comURL for a playlist, album, or artist. (To get this URL, find the music in question, and navigate to "..." > "share" > "copy link".)
- the