|
|
|
|
|
by digitalmaster
798 days ago
|
|
We have a WhatsApp group where we share music recommendations with each other. It's grown quite a bit now and it's gotten hard to keep up. Also new members missed everything that came before. So I set out to solve this problem and have some fun last week. I decided to write a shell script that does the following:
- Parses chat export file and extracts all the Spotify URLs.
- Removes duplicates
- Authenticates w/ Spotify API
- Fetches Ids of tracks already in playlist
- Creates a difference list of missing tracks
- Adds those to the playlist And that's that. |
|