This tool is used to periodically update the r/listentothis playlist.
- Get a developer Spotify account, and create a new app.
- Save the Client ID and Client Secret to a file in
src
calledconfig.json
(follow the example ofconfig.example.json
) - Save your spotify username and password to the same file.
- Set the redirect URI to any URL you have control over. PhantomJS is used to log in through spotify, so hopefully something with SSL.
To run:
npm install
in the base directorynode listentothis.js
in thesrc/
directory- use
node listentothis.js -w X
to run the server, with the first add happening inX
minutes
- use