Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/adaxi/terminal-spotify-playlist
- Owner: adaxi
- Created: 2015-11-29T19:10:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T19:13:29.000Z (about 9 years ago)
- Last Synced: 2024-05-01T13:35:56.323Z (8 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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