Skip to content

agukrapo/playlist-creator

Repository files navigation

playlist-creator

CLI tool to create a playlist on the provided target using a text file containing a song name per line

Playlist name will be the file name without extension

Usage

playlist-creator <target> <file>

Example

playlist-creator spotify friday-party.txt

Install

Download binary from the latest release

Available targets

Spotify

Needs a valid Spotify OAuth token in the SPOTIFY_TOKEN environment variable (.env file supported)

Generate a OAuth token for the currently logged user in here https://developer.spotify.com/console/get-search-item/

Make sure the token has the playlist-modify-private scope

Deezer

Uses a valid Deezer ARL cookie in the DEEZER_ARL_COOKIE environment variable (.env file supported)

Check here how to get this cookie.