2967820650075fc5eb5bec6951a69bf44dd4c677
I was passing (playlist, None) in the case where the --uri argument was used, and None means create a new playlist. I've fixed it to look for the Tidal playlist if it exists like the other code paths do, and only pass None when it doesn't exist. Unfortunately this will mean that your Tidal collection might have been polluted with duplicate playlists. I've added a delete playlist function to tidalapi_patch to help with deleting these programmatically, which some people might find useful. Fixes #8
A command line tool for importing your Spotify playlists into Tidal
Installation
Clone this git repository and then run:
python3 -m pip install -r requirements.txt
Setup
- Rename the file example_config.yml to config.yml
- Go here and register a new app on developer.spotify.com.
- Copy and paste your client ID and client secret to the Spotify part of the config file
- Copy and paste the value in 'redirect_uri' of the config file to Redirect URIs at developer.spotify.com and press ADD
- Enter your Spotify username to the config file
Usage
To synchronize all of your Spotify playlists with your Tidal account run the following
python3 sync.py
This will take a long time because the Tidal API is really slow.
You can also just synchronize a specific playlist by doing the following:
python3 sync.py --uri 1ABCDEqsABCD6EaABCDa0a
See example_config.yml for more configuration options, and sync.py --help for more options.
Description
Languages
Python
99.5%
Shell
0.5%