🤖 triplej playlist generator (live playlist)
Automatically generate a spotify playlist from the most recently played music on the triplej radio station.
- Register your application on the developer dashboard and obtain the
client_id
and aclient_secret
. - Use the authorization code on the official spotify web-api-auth-examples repo to obtain a
refresh_token
. Make sure to grant access to the correct playlist type when fetching this token. You can read about scopes here. As my playlist is public I only need theplaylist-modify-public
scope. - Create a playlist in spotify and copy the link to it. Note we just want the
playlist_id
. - Edit the makefile and add the above config.
- run
make