Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adaxi/terminal-spotify-playlist

Populate a Spotify playlist from a CSV file
https://github.com/adaxi/terminal-spotify-playlist

Last synced: about 2 months ago
JSON representation

Populate a Spotify playlist from a CSV file

Awesome Lists containing this project

README

        

## Terminal Spotify Playlist
This tool allows you to populate a Spotify playlist from a CSV file.

Given a playlist name and a list of song names, it will lookup for the songs
and add them to the playlist.

Spotify WebAPI is used to communicate with the Spotify cloud.

### Usage
```
./terminal-spotify-playlist [-c ] [-t ]
```

### Examples
In this example we add a single song to the playlist
```
echo "Yellow Submarine,Beatles" | ./terminal-spotify-playlist "Beatles"
```

In this example we read the songs from the file and add them to the playlist
```
./terminal-spotify-playlist "Beatles" < /path/to/beatles/playlist
```

### Spotify Application
To use this script you will need to create a spotify application, and
fill in the "Spotify Client ID" and the "Spotify Client Secret" in the script.

You can create an application on: https://developer.spotify.com/my-applications

When asked for redirect URIs you should fill in: http://localhost:34964