# Spotify API configuration: # -------------------------- # Get these from https://developer.spotify.com/dashboard/ SPOTIFY_CLIENT_SECRET=your_spotify_client_secret_here SPOTIFY_CLIENT_ID=your_spotify_client_id_here # Plex API configuration: # ----------------------- # Get token from https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ PLEX_TOKEN=your_plex_token_here # URL format: http://plex-server:32400 or https://plex-server.example.com:32400 PLEX_SERVER_URL=http://your.plex.server:32400 # Set to "true" to replace existing playlists instead of updating them PLEX_REPLACE=false # Comma-separated list of Plex usernames to sync playlists for # Leave empty to use only the account associated with PLEX_TOKEN PLEX_USERS= # Lidarr API configuration: # ------------------------- # Found in Lidarr: Settings → General → Security → API Key LIDARR_API_KEY=your_lidarr_api_key_here # URL format: http://lidarr:8686 or https://lidarr.example.com LIDARR_API_URL=http://your.lidarr.server:8686 # Set to "true" to enable Lidarr playlist import LIDARR_SYNC=false # Performance configuration: # ----------------------- # Maximum number of playlists to process in parallel # Higher values may improve speed but could hit API rate limits MAX_PARALLEL_PLAYLISTS=3 # Playlist configuration: # ----------------------- # Comma-separated list of Spotify playlist IDs to sync # Format: spotify_playlist_id_1,spotify_playlist_id_2 # You can extract ID from Spotify URLs: spotify:playlist:PLAYLIST_ID or https://open.spotify.com/playlist/PLAYLIST_ID MANUAL_PLAYLISTS= # Run options: # ----------- # Set to "true" to run sync once at container start (in addition to scheduled runs) FIRST_RUN=false # Cron scheduling: # ---------------- # Standard cron format: minute hour day-of-month month day-of-week # Example: "0 1 * * *" = daily at 1:00 AM # See https://crontab.guru/ for help CRON_SCHEDULE=0 1 * * * # Cache configuration: # ------------------- # Set to "true" to enable API response caching (reduces API calls) ENABLE_CACHE=true # Cache time-to-live in seconds (default: 3600 = 1 hour) CACHE_TTL=3600 # Custom cache directory (optional, defaults to ~/.cache/spotify-to-plex) # CACHE_DIR=/path/to/custom/cache