This service is used to save your Spotify history every 45 minutes. The fetched songs are saved in a MySQL database. It uses OAuth to log into Spotify.
- Create a Spotify application at: https://developer.spotify.com/dashboard/applications
- Run
bin/activateand build withgo build - Create
.envfile out of.env.exampleand add client credentials- Don't forget to create database and load schema with
./SpotifyPlaybackSaver -create_dband./SpotifyPlaybackSaver -migrate - Also add db credentials to
.envfile
- Don't forget to create database and load schema with
- Generate OAuth token with
./SpotifyPlaybackSaver -login- That will generate a
token.jsonfile with credentials
- That will generate a
- Start
./SpotifyPlaybackSaverand enjoy!
