Add script to copy playlists from spotify to tidal

This commit is contained in:
Timothy Rae
2021-05-31 19:35:31 +12:00
commit 0c6b9798d3
6 changed files with 1034 additions and 0 deletions

35
readme.md Normal file
View File

@@ -0,0 +1,35 @@
A command line tool for importing your Spotify playlists into Tidal
Installation
-----------
Clone this git repository and then run:
```bash
python3 -m pip install -r requirements.txt
```
Setup
-----
0. Rename the file example_config.yml to config.yml
0. Go [here](https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app) and register a new app on developer.spotify.com.
0. Copy and paste your client ID and client secret to the Spotify part of the config file
0. Copy and paste the value in 'redirect_uri' of the config file to Redirect URIs at developer.spotify.com and press ADD
0. Enter your Spotify username to the config file
Usage
----
To synchronize all of your Spotify playlists with your Tidal account run the following
```bash
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:
```bash
python3 sync.py --uri 1ABCDEqsABCD6EaABCDa0a
```
See example_config.yml for more configuration options, and `sync.py --help` for more options.