Automatically adds your liked songs to a preferred playlist on Spotify.
You will be required to create your own app in the Spotify for Developers dashboard in order to use your own parameters.
Replace client_secret
and playlist_id
as well as the respective lines with the following parts of the code to your personal profile specific data:
CLIENT_ID =
CLIENT_SECRET =
PLAYLIST_ID =
REDIRECT_URI =
- The
CLIENT_ID
andCLIENT_SECRET
can be found from the app you created. - Find the
PLAYLIST_ID
of the playlist you'd like to copy your songs to. REDIRECT_URI
can only be http://localhost:${PORT}/callback
Simply run the following to install the necessary packages.
npm install
Then start the program
node index.js
Now, simply login with your account after pressing the button and the app will parse through your library to add the songs!
These are subject to change based on what I fancy, feel free to open an issue and add your suggestions.
-
Migration to cron job workflow
Timeline: Realtively soon
-
Front-end for dynamic usage
Timeline: Further off
Would require an overhaul of the app to include a front-end portion to work with the backend to dynamically add the playlist id. May not be suited to cron-job workflow if that is the case, may consider it as a separate