1a2aedf7a54269557f6e5aa8edeeb2411762292d
I've been having an issue where the script hangs for a long time when starting up. It seems to be caused by the connection request to Spotify failing on the first request (which uses IPv6) and having to wait for the retry attempt using IPv4 2s should be plenty for just getting the refresh token and is much more tolerable in case of IPv6 failure
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%