Skip to content

anthonynorthrup314/spotify-playlist-updater

Repository files navigation

spotify-playlist-updater

Update playlists with new music from the artist of the playlist. This app is targeted at public single artist playlists created by the user via Spotify. I am still working on the creation feature, but listing / updating should be fully functional. See below for more information on how this can be used.

Mobile should be supported, however it is currently untested. So long as you can login to your Spotify account in the browser, this should function as intended.

Note: If you'd like to list / update private playlists, simply update the SCOPE variable within your .env file (or environment variables) to add playlist-read-private playlist-modify-private. More details can be found within the Spotify Web API documentation.

Try It!

You can try this repo hosted with Heroku here: https://spotify-playlist-updater.herokuapp.com/

Tech Stack

Refer to the package.json file for a complete rundown, but here is a brief summary.

Backend

  • axios: An easier API for making web requests
  • Express: Runs the server
  • lowDB: Stores the database of users and their playlist metadata
  • TypeScript

Frontend

Usage

  1. Log in with your Spotify account (uses OAuth redirection)
  2. Select a playlist for updating
    • The playlists are cached for 24 hours. You can click Refresh Playlists to get the latest
  3. Click the Update Playlist button
    • When first clicked, this will detect the artist for the playlist
    • The tracks are cached for 7 days. You can click Refresh Playlist to get the latest
  4. Once the dialog appears with the newly detected tracks, click Add Tracks
    • Note: Tracks are only displayed if they were released since the last update to the playlist. If you'd like to find other music for the artist released before the last update to the playlist, this must be done manually.
  5. Repeat as needed

Planned Features

  • Creation of new playlists for specific artists
    • This will likely also come with a delete button for playlists created by this app
  • A new color scheme (my friends who tested so far weren't happy with the lack of a dark theme...)
  • Indicators for (possible) duplicate songs
    • For example, songs released both in a single and an album
  • Search for user playlists
    • The Spotify Web API currently doesn't have support for folders (and likely never will), so depending on how many playlists you have, going through them one-by-one to find the right one is probably a bit annoying
  • Update all button, so you don't have to click through each playlist

About

Update playlists with new music from the artist of the playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published