scripts to convert a Spotify playlist to a Google Music one
Project description
This project is python 3
This project converts Spotify Playlists to Google Music Ones.
To extract a spotify playlist you need the following environment variables defined
SPOTIPY_CLIENT_ID=’’
SPOTIPY_CLIENT_SECRET=’’
SPOTIPY_REDIRECT_URI=’’
SPOTIFY_USER=’’
No typos there. the first 3 are SPOTIPY the api library im using. The last one is your spotify username
to extract a playlist simply run
extractpl <playlist_user> <playlist_id>
The script will walk you though an oauth flow then dump out some json. The oauth flow is skipped if the cached token is valid
to upload a playlist file to google you need the following environment variables defined
export GUSER=’’ (google user name)
Then just run
uploadpl <playlist_json_file>
It will prompt for a password (sorry… no choice really) if you use 2-factor (good!) this needs to be an app specific password
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file spotifyPlaylistConverter-1.4.tar.gz
.
File metadata
- Download URL: spotifyPlaylistConverter-1.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecda958f95a80287f5872daac327af356b8b4d3875b2152e1d692d212d2b49b6 |
|
MD5 | 360f5bc815dab20ee9069e1622611b2e |
|
BLAKE2b-256 | 2f3c8344751470467726d35a36f459df8b3ce9a7e7209fb11259fff14959fc0f |