Files
spotify-to-tidal/example_config.yml
Tim Rae bb0f3cffd0 Fix rate limit accuracy
Batching multiple updates to the leaky bucket at a fixed interval
improves the accuracy of the rate limiter. Previously the rate would
drop substantially over the course of the sync operation.
2024-06-08 12:54:27 +02:00

20 lines
735 B
YAML

spotify:
client_id: your_client_id
client_secret: your_client_secret
username: your_spotify_username
redirect_uri: http://localhost:8888/callback
# uncomment this block if you want to only sync specific playlist IDs
#sync_playlists:
# - spotify_id: 1ABCDEqsABCD6EaABCDa0a
# tidal_id: a0b1234-0a1b-012a-abcd-a1b234c5d6d7
# uncomment this block if you want to sync all playlists in the account with some exceptions
#excluded_playlists:
# - spotify:playlist:1ABCDEqsABCD6EaABCDa0a
# increasing these parameters should increase the search speed, while decreasing reduces likelihood of 429 errors
max_concurrency: 10 # max concurrent connections at any given time
rate_limit: 10 # max sustained connections per second