spotify-to-plex

spotify-to-plex

Docker app from jjdenhertog's Repository

Overview

A beautiful web application to sync your Spotify playlists with Plex. Automatically matches songs from any Spotify playlist (including Spotify-owned playlists, liked songs, and private playlists) with your Plex library using advanced matching algorithms. The app provides detailed match information and supports automatic downloads of missing tracks via Tidal Downloader or Lidarr integration. Important: Setup an encryption key for secure Spotify user integration. Generate a random key using the command below and add it to the ENCRYPTION_KEY variable: openssl rand -hex 32 Prerequisites: You'll need Spotify API credentials (required), and optionally Tidal API credentials for missing track matching, plus a Lidarr API key for automatic album downloads. Please read the project documentation for detailed configuration instructions.

Spotify to Plex

Docker Pulls GitHub Stars License Issues

A web application to sync your Spotify playlists with Plex. Automatically match songs, download missing tracks, and keep your music library in perfect sync.

Spotify to Plex Overview


Features

  • Sync any Spotify playlist with Plex (including Spotify-owned playlists)
  • Advanced track matching with multiple search strategies
  • Download missing tracks via Lidarr, SLSKD, or Tidal
  • Multiple Spotify user support
  • Scheduled automatic synchronization
  • Smart caching for faster syncs

Quick Start

docker run -d \
    -e SPOTIFY_API_CLIENT_ID=YOUR_CLIENT_ID \
    -e SPOTIFY_API_CLIENT_SECRET=YOUR_CLIENT_SECRET \
    -e SPOTIFY_API_REDIRECT_URI=https://jjdenhertog.github.io/spotify-to-plex/callback.html \
    -e ENCRYPTION_KEY=YOUR_ENCRYPTION_KEY \
    -e PLEX_APP_ID=eXf+f9ktw3CZ8i45OY468WxriOCtoFxuNPzVeDcAwfw= \
    -v /your/config/path:/app/config:rw \
    --network=host \
    jjdenhertog/spotify-to-plex

Access the web interface at http://[your-ip]:9030


Documentation

For detailed setup instructions, configuration options, and integration guides:

Read the full documentation


Support This Open-Source Project

If you appreciate my work, consider starring this repository or making a donation to support ongoing development. Your support means the world to me—thank you!

Buy Me a Coffee

Are you a developer with some free time on your hands? It would be great if you can help me maintain and improve this project.


License

This project is open source and available under the MIT License.

Install spotify-to-plex on Unraid in a few clicks.

Find spotify-to-plex in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for spotify-to-plex Review the template variables and paths Click Install

Download Statistics

58,019
Total Downloads
6,645
This Month
7,867
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
jjdenhertog/spotify-to-plex:latest
Last Updated2026-03-22
First Seen2024-12-31

Runtime arguments

Web UI
http://[IP]:[PORT:9030]/
Network
bridge
Shell
sh
Privileged
false

Template configuration

WebUIPorttcp
Target
9030
Value
9030
SPOTIFY_API_CLIENT_IDVariable
SPOTIFY_API_CLIENT_SECRETVariable

PASTE_YOUR_SPOTIFY_CLIENT_SECRET_HERE

SPOTIFY_API_REDIRECT_URIVariable

https://[IP_OF_SPOTIFY_TO_PLEX]:9030/api/spotify/token

ENCRYPTION_KEYVariable
TIDAL_API_CLIENT_IDVariable

PASTE_YOUR_TIDAL_CLIENT_ID_HERE

TIDAL_API_CLIENT_SECRETVariable

PASTE_YOUR_TIDAL_CLIENT_SECRET_HERE

TIDAL_API_REDIRECT_URIVariable

http://[IP_OF_SPOTIFY_TO_PLEX]:3000/api/tidal/token

LIDARR_API_KEYVariable

PASTE_YOUR_LIDARR_API_KEY_HERE

path to appdataPathrw
Target
/app/config
Value
/mnt/user/appdata/spotify-to-plex/