# Spotify to Plex

Spotify to Plex is a web application that syncs your Spotify playlists with your Plex music library. It is open source and self-hosted, installable on Docker Hub, TrueNAS and Unraid.

Canonical page: https://ourlocalhost.com/app/1516/spotify-to-plex

## Description

Spotify to Plex is a web application that syncs your Spotify playlists with your Plex music library. It automatically matches tracks from any Spotify playlist—including Spotify-owned playlists, liked songs, and private ones—against your Plex library using advanced matching algorithms. You can review detailed match results and optionally download missing tracks through Lidarr, SLSKD, or Tidal, with support for multiple Spotify users and scheduled automatic synchronization. It is built for homelab users who want their self-hosted Plex music collection to mirror their Spotify library without manual effort.

## Platform availability

Available on 2 of 10 platforms: Unraid, TrueNAS.

## Health score

67/100 (Good), based on 4 of 5 factors.
- Maintained: 88 (last commit 25 days ago)
- Popular: 48 (252 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Security check: 70 (no serious findings, 7 minor, CI, tests)

## Links

- Official website: https://jjdenhertog.github.io/spotify-to-plex/
- Docker Hub: https://hub.docker.com/r/jjdenhertog/spotify-to-plex
- GitHub: https://github.com/jjdenhertog/spotify-to-plex
- TrueNAS: https://apps.truenas.com/catalog/spotify-to-plex/
- Unraid: https://ca.unraid.net/apps/spotify-to-plex-180l7zs1t4i12c?q=spotify-to-plex

## Common questions

### Do I need to set an encryption key before connecting Spotify?

Yes. Generate a random key with openssl rand -hex 32 and add it to the ENCRYPTION_KEY variable.

### What Spotify credentials are required?

You need Spotify API credentials to connect the app.

### Can it match liked songs and private playlists to my Plex library?

Yes. It matches songs from any Spotify playlist, including Spotify-owned playlists, liked songs, and private playlists, with your Plex library.

### Does it download missing tracks automatically?

Yes. It supports automatic downloads of missing tracks through Tidal Downloader or Lidarr integration.

---
Source: Our Local Host (https://ourlocalhost.com/app/1516/spotify-to-plex), the self-hosted and open-source app directory.
