Tim Rae 1a2aedf7a5 Set 2s timeout when connecting to Spotify
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
2024-05-25 12:13:02 +02:00
2024-05-22 14:54:17 +02:00
2022-02-10 16:08:11 +13:00
2024-05-22 14:54:17 +02:00
2023-07-21 14:09:05 +01:00

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

  1. Rename the file example_config.yml to config.yml
  2. Go here and register a new app on developer.spotify.com.
  3. Copy and paste your client ID and client secret to the Spotify part of the config file
  4. Copy and paste the value in 'redirect_uri' of the config file to Redirect URIs at developer.spotify.com and press ADD
  5. 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
No description provided
Readme 148 KiB
Languages
Python 99.5%
Shell 0.5%