Skip to content

RobbeDP/spotify-shuffler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Spotify playlist shuffler

What is it?

The Spotify playlist shuffler is a small command line tool that, as the name implies, shuffles a playlist and adds it to the current user's Spotify library.

Usage

Create a new Spotify application on the following link: https://developer.spotify.com/dashboard/applications. Thereafter, open your terminal and be sure to be located in the root directory of this project.

Setup

Create a new file called spotipy.ini and give it the following content.

SPOTIPY_CLIENT_ID=client_id
SPOTIPY_CLIENT_SECRET=client_secret
SPOTIPY_REDIRECT_URI=redirect_uri

client_id and client_secret can be found on the Spotify page of your application. redirect_uri has to correspond with redirect URI you set at this same page. It doesn't really matter what URI you choose. For example: https://www.spotify.com.

Run

python shuffle.py 'your_spotify_user_id' 'spotify_playlist_uri'

About

A tool for shuffling Spotify playlists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages