- Clone the repo:
git clone [email protected]:camjackson/spotify-automation - Install the dependencies:
yarn - Initialise some empty data files:
yarn setup - Log in to https://beta.developer.spotify.com/dashboard/, and create a
src/creds.jsthat exports an object withclientIdandclientSecret. - Download the track data:
yarn getTrackData - (Optional) Adjust artist/album filters in:
src/getTrackData/filters.js - (Optional) Adjust feature thresholds in:
src/getTrackData/4-filterTracks.js yarn createPlaylist
Once you have the creds and filters set up how you want them, create a fresh playlist in one step:
./refresh.sh