Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.22 KB

File metadata and controls

27 lines (19 loc) · 1.22 KB

Spotify Playlist Sync

This project contains a script to parse a WhatsApp group export txt file and sync Spotify tracks to a playlist.

Files

  • parseSyncList.sh: This is the main script that handles the parsing and syncing of tracks.

How to Use

  1. Export your WhatsApp group chat and name the file _chat.txt.
  2. Move the _chat.txt file to the root of the project.
  3. Export environment variable
    • export SPOTIFY_CLIENT_ID=<your_client_id>
    • `export SPOTIFY_CLIENT_SECRET=<your_client
    • export SPOTIFY_PLAYLIST_ID=<your_playlist_id>
    • export SPOTIFY_REDIRECT_URI=<your_redirect_uri>
  4. Run the parseSyncList.sh script.
  5. Will redirect you to a browser to authenticate with Spotify. After authenticating, you will be redirected to a page that will not load. Copy the entire URL paste it into the terminal.

Spotify API Documentation

For more information on how to use the Spotify API, please refer to the following resources: