Getting Startedยถ
This guide will help you set up Spotify integration with plistsync from start to finish.
Prerequisitesยถ
Installationยถ
First, install the Spotify optional dependencies:
pip install 'plistsync[spotify]'
uv add plistsync --extra spotify
Spotify Accountยถ
Youโll need an active Spotify account. If you donโt have one, sign up at spotify.com.
API Credentialsยถ
To authenticate with Spotifyโs API, you need to obtain API credentials:
Visit the Spotify Developer Portal
Log in with your Spotify account
Create a new application
Generate your
client_id(and optionallyclient_secret)
Configurationยถ
Enable Tidal in your plistsync configuration file:
# ./config/config.yaml
services:
spotify:
enabled: true
client_id: your_spotify_client_id_here
client_secret: your_spotify_client_secret_here # Optional but recommended
Authenticationยถ
Once configured, authenticate plistsync with your Tidal account:
plistsync spotify auth
This will start an interactive authentication flow:
Youโll be prompted to open a browser to Tidalโs authorization page
Log in with your Tidal credentials
Grant
plistsyncthe requested permissionsThis will save an authentication token in the
configfolder
Authentication Previewยถ
Verificationยถ
Test that everything is working by getting your user data:
from plistsync.services.spotify.api import SpotifyApi
print(SpotifyApi().user.me())
This should return your userโs ID and email.