Skip to content

A cron job written in go that allows you to maintain a Spotify playlist of the most recently played music on the triplej radio station.

License

Notifications You must be signed in to change notification settings

JamesBLewis/triplej-playlist-generator

Repository files navigation

🤖 triplej playlist generator (live playlist)

Automatically generate a spotify playlist from the most recently played music on the triplej radio station.

Getting Started

  1. Register your application on the developer dashboard and obtain the client_id and a client_secret.
  2. 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 the playlist-modify-public scope.
  3. Create a playlist in spotify and copy the link to it. Note we just want the playlist_id.
  4. Edit the makefile and add the above config.
  5. run make

About

A cron job written in go that allows you to maintain a Spotify playlist of the most recently played music on the triplej radio station.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published