Skip to content

aesrael/playlister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlister

Playlister is a command-line tool for creating Spotify playlists from a CSV file. I made this for personal use to curate music, but feel free to use for whatever.

Requirements

Usage

go run main.go -csv /path/to/playlist.csv

Or build and run the binary, use the following commands:

go build
./playlister -csv /path/to/playlist.csv

The CSV file should have the following format:

artist,track

Led Zeppelin,Stairway to Heaven
Pink Floyd,Wish You Were Here
The Beatles,Hey Jude

Authentication

Before running Playlister, you need to set up a Spotify app and set the SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET environment variables with the app credentials.

To authenticate with Spotify, Playlister will start a web server at http://localhost:8008/callback to receive the access token.

Limitations

  • Amongst other things, Playlister currently does not support adding tracks to an existing playlist. If the playlist already exists, Playlister will create a new one with the same name.

Feature requests

Kindly create an issue, and I may be able to attend to a few.

License

Playlister is licensed under the MIT License.

About

convert CSV to Spotify playlist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages