Tim Rae 311822ecdc Add cache of match failures
This change introduces an sqlite database that contains the track_id,
db insertion time, and ttl in the cache. The ttl starts with one week,
and increases exponentially by a factor of 2 each time the same track_id
is added to the database.

This significantly reduces the execution of the time script when there
are a lot of match failures accumulating, which do not need to check
every time.
2024-05-22 14:54:17 +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%