Timothy Rae 2967820650 Fix bug where a new Tidal playlist was created everytime sync.py run with --uri argument
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
2022-02-12 14:45:46 +13:00
2022-02-10 16:08:11 +13: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%