JamesBLewis / triplej-playlist-generator

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.

Home Page:https://open.spotify.com/playlist/4wP3HpMngLebZ8pYvXD0Et?si=1d4a2c492aae4731

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🤖 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.

https://open.spotify.com/playlist/4wP3HpMngLebZ8pYvXD0Et?si=1d4a2c492aae4731

License:MIT License


Languages

Language:Go 90.2%Language:Dockerfile 6.7%Language:Makefile 2.3%Language:Shell 0.8%