Skip to content

danikron/spotifypltools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spotifyplshuffle

Imports the tracks of a seed playlist, shuffles them and exports them to a target playlist. The seed and target playlist can be the same. This was based on some other script but I forget which, sorry.

spotifyplbackup

Creates a list of tracks from a seed playlist in the working directory.

Usage

Reads a file auth in the script directory to find the client ID and client secret, which can be obtained by adding an approved application on the Spotify account page. The file should be formatted:

id:<client id>
secret:<client secret>

Reads a file playlists in the script directory to find the seed and target playlists. The file should be formatted:

seed:<user>/playlists/<playlist id>
target:<user>/playlists/</playlist id>

The scripts will open an authentication page in the default webbrowser in order to fetch an access token. This operation requires nc, provided by GNU Netcat or openbsd-netcat.

Requirements

  • netstat

About

Imports the tracks of a seed playlist, shuffles them and exports them to a target playlist.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages