No description
Find a file
2025-11-12 19:55:29 -08:00
.claude wishlist modal somewhat ready 2025-08-08 13:00:12 -07:00
assets rate limiting 2025-08-11 08:36:51 -07:00
config gui navidrome support 2025-09-22 09:46:30 -07:00
core progress 2025-11-11 17:05:44 -08:00
database caching for similar artists 2025-11-11 14:04:55 -08:00
logs Add Docker support and improve headless compatibility 2025-09-11 08:26:25 -07:00
services navidrome support 2025-09-22 07:49:48 -07:00
templates Update database mount path and docs for SoulSync 2025-09-12 09:38:18 -07:00
ui Update settings.py 2025-10-15 14:33:40 -07:00
utils remove pycache 2025-08-14 14:09:11 -07:00
webui wishlist modal bug fix 2025-11-12 19:29:41 -08:00
.dockerignore Update Docker setup and config paths 2025-09-13 15:12:23 -07:00
.gitattributes update readme 2025-11-10 10:46:32 -08:00
.gitignore Update .gitignore 2025-08-14 14:03:37 -07:00
beatport_unified_scraper.py beatport progress 2025-10-01 19:52:22 -07:00
docker-compose.yml Update docker-compose.yml 2025-10-07 14:32:16 -07:00
DOCKER-OAUTH-FIX.md Add Docker OAuth authentication troubleshooting guide 2025-09-13 08:24:40 -07:00
DOCKER.md Create DOCKER.md 2025-09-11 21:00:41 -07:00
DOCKER_PERMISSIONS.md Add manual track matching and Docker permission docs 2025-10-03 10:48:25 -07:00
Dockerfile Add manual track matching and Docker permission docs 2025-10-03 10:48:25 -07:00
entrypoint.sh Add manual track matching and Docker permission docs 2025-10-03 10:48:25 -07:00
license.txt Create license.txt 2025-08-16 09:06:13 -07:00
main.py navidrome functionality start 2025-09-21 21:02:12 -07:00
README-Docker.md Add Docker support and improve headless compatibility 2025-09-11 08:26:25 -07:00
README.md Update README.md 2025-11-12 19:55:29 -08:00
requirements-webui.txt Update requirements-webui.txt 2025-09-28 13:09:41 -07:00
requirements.txt auto lyric download 2025-09-22 16:04:06 -07:00
UNRAID.md Update database mount path and docs for SoulSync 2025-09-12 09:38:18 -07:00
web_server.py auto m3u download for playlists 2025-11-11 21:04:33 -08:00

SoulSync Logo

🎵 SoulSync - Automated Music Discovery & Collection Manager

Bridge the gap between streaming services and your local music library. Automatically sync Spotify/Tidal/YouTube playlists to Plex/Jellyfin/Navidrome via Soulseek.

⚠️ CRITICAL: You MUST configure file sharing in slskd before using SoulSync. Users who only download without sharing get banned by the Soulseek community. Set up shared folders in slskd's web interface at http://localhost:5030/shares - share your music library or downloads folder.

ko-fi

What It Does

  • Auto-sync playlists from Spotify/Tidal/YouTube to your media server
  • Smart matching finds what you're missing vs what you own
  • Download missing tracks from Soulseek with FLAC priority
  • Metadata enhancement adds proper tags and album art
  • Automatic lyrics synchronized LRC files for every download
  • Auto server scanning triggers library scans after downloads
  • Auto database updates keeps SoulSync database current
  • File organization creates clean folder structures
  • Artist discovery browse complete discographies with similar artists recommendations powered by music-map.com
  • Music library browser comprehensive collection management with search and completion tracking
  • Wishlist system saves failed downloads for automatic retry
  • Artist watchlist monitors for new releases and adds missing tracks
  • Discover page intelligent music discovery using your watchlist to curate personalized playlists
  • Background automation retries failed downloads every hour

Star History

Star History Chart

🚀 Three Ways to Run

1. Desktop GUI (Original)

Full PyQt6 desktop application with all features.

git clone https://github.com/Nezreka/SoulSync
cd SoulSync
pip install -r requirements.txt
python main.py

2. Web UI (New!)

Browser-based interface - same features, runs anywhere.

python web_server.py
# Open http://localhost:8008

3. Docker (New!)

Containerized web UI with persistent database.

# Option 1: Use docker-compose (recommended)
curl -O https://raw.githubusercontent.com/Nezreka/SoulSync/main/docker-compose.yml
docker-compose up -d

# Option 2: Run directly
docker run -d -p 8008:8008 boulderbadgedad/soulsync:latest

# Open http://localhost:8008

Quick Setup

Prerequisites

  • slskd: Download from GitHub, run on port 5030
  • Spotify API: Get Client ID/Secret (see setup below)
  • Tidal API: Get Client ID/Secret (see setup below)
  • Media Server: Plex, Jellyfin, or Navidrome (optional but recommended)

🔑 API Setup Guide

Spotify API Setup

  1. Go to Spotify Developer Dashboard
  2. Click "Create App"
  3. Fill out the form:
    • App Name: SoulSync (or whatever you want)
    • App Description: Music library sync
    • Website: http://localhost (or leave blank)
    • Redirect URI: http://localhost:8888/callback
  4. Click "Save"
  5. Click "Settings" on your new app
  6. Copy the Client ID and Client Secret

Tidal API Setup

  1. Go to Tidal Developer Dashboard
  2. Click "Create New App"
  3. Fill out the form:
    • App Name: SoulSync
    • Description: Music library sync
    • Redirect URI: http://localhost:8889/callback
    • Scopes: Select user.read and playlists.read
  4. Click "Save"
  5. Copy the Client ID and Client Secret

Plex Token Setup

Easy Method:

  1. Open Plex in your browser and sign in
  2. Go to any movie/show page
  3. Click "Get Info" or three dots menu → "View XML"
  4. In the URL bar, copy everything after X-Plex-Token=
    • Example: http://192.168.1.100:32400/library/metadata/123?X-Plex-Token=YOUR_TOKEN_HERE
  5. Your Plex server URL is typically http://YOUR_IP:32400

Alternative Method:

  1. Go to plex.tv/claim while logged in
  2. Your 4-minute claim token appears - this isn't what you need
  3. Instead, right-click → Inspect → Network tab → Reload page
  4. Look for requests with X-Plex-Token header and copy that value

Navidrome Setup

Easy Method:

  1. Open your Navidrome web interface and sign in
  2. Go to SettingsUsers
  3. Click on your user account
  4. Under Token, click "Generate API Token"
  5. Copy the generated token
  6. Your Navidrome server URL is typically http://YOUR_IP:4533

Using Username/Password:

  • You can also use your regular username and password instead of a token
  • SoulSync supports both authentication methods for Navidrome

Jellyfin Setup

  1. Open your Jellyfin web interface and sign in
  2. Go to SettingsAPI Keys
  3. Click "+" to create a new API key
  4. Give it a name like "SoulSync"
  5. Copy the generated API key
  6. Your Jellyfin server URL is typically http://YOUR_IP:8096

Final Steps

  1. Set up slskd with downloads folder and API key
  2. Launch SoulSync, go to Settings, enter all your API credentials
  3. Configure your download and transfer folder paths
  4. Important: Share music in slskd to avoid bans

Docker Notes

  • Database persists between rebuilds via named volume
  • Mount drives containing your download/transfer folders:
    volumes:
      - /mnt/c:/host/mnt/c:rw  # For C: drive paths
      - /mnt/d:/host/mnt/d:rw  # For D: drive paths
    
  • Uses separate database from GUI/WebUI versions

Docker OAuth Fix (Remote Access)

If accessing SoulSync from a different machine than where it's running:

  1. Set your Spotify callback URL to http://127.0.0.1:8888/callback
  2. Open SoulSync settings and click authenticate
  3. Complete Spotify authorization - you'll be redirected to http://127.0.0.1:8888/callback?code=SOME_CODE_HERE
  4. If the page fails to load, edit the URL to use your actual SoulSync IP:
    • Change: http://127.0.0.1:8888/callback?code=SOME_CODE_HERE
    • To: http://192.168.1.5:8888/callback?code=SOME_CODE_HERE
  5. Press Enter and authentication should complete

Note: Spotify only allows 127.0.0.1 as a local redirect URI, hence this workaround. You may need to repeat this process after rebuilding containers.

🎵 Beatport Integration

Discover the hottest dance music with our fresh Beatport integration. Whether you're following superstar DJs or hunting for underground gems, SoulSync pulls directly from Beatport's extensive catalog.

Chart Explorer: Browse featured charts, DJ curated sets, and trending tracks Genre Deep Dive: Discover new releases and popular tracks by genre One-Click Downloads: Grab entire charts or individual tracks instantly Premium Discovery: Access the same charts that DJs use to find their next big tracks

Just hit up the Beatport section in the web UI and start exploring. Perfect for DJs building sets or anyone who wants to stay ahead of the curve on electronic music trends.

🎧 Discover Page - Intelligent Music Discovery

The Discover page is your personalized music recommendation engine, powered by your watchlist and listening habits. Unlike generic algorithms, it builds recommendations based on artists you actively care about.

How It Works

Watchlist-Driven Discovery

  • Add artists to your watchlist on the Artists page
  • SoulSync automatically builds a database of similar artists using music-map.com
  • This creates a web of related artists based on your taste, not generic popularity

Curated Playlists The Discover page generates three intelligent playlists:

  1. Release Radar - New releases from the past 7 days

    • Tracks from your watchlist artists
    • Tracks from similar artists in the database
    • Tracks from artists already in your library
    • Always fresh, always relevant
  2. Discovery Weekly - Curated selection of recent music

    • Similar to Release Radar but with a broader time window
    • Helps you catch up on releases you might have missed
    • Blends familiar and new artists
  3. Featured Artist Slideshow

    • Hero carousel showcasing similar artists you might like
    • Shows why each artist is recommended (e.g., "Similar to 5 artists in your watchlist")
    • One-click add to watchlist or view full discography
    • Genre tags and popularity indicators

The Discovery Flow

Your Watchlist → Similar Artists Database → Spotify API → Curated Playlists
     ↓                     ↓                      ↓              ↓
  Artists you       Related artists        New releases    Personalized
    follow         from music-map         and catalogs      discovery

Key Features:

  • 📊 Data-driven: Uses actual music relationship data, not just popularity
  • 🎯 Personalized: Built around your specific tastes via watchlist
  • 🔄 Always fresh: Release Radar updates daily with new music
  • 🎨 Visual discovery: Hero slideshow makes finding new artists engaging
  • 📥 One-click downloads: Add entire playlists or individual tracks instantly

Why It's Different

Traditional recommendation engines suggest popular artists or use collaborative filtering ("people who liked X also liked Y"). SoulSync's Discover page is different:

  • Taste-focused: Only recommends based on artists you explicitly watch
  • Relationship-based: Uses actual musical similarities via music-map
  • Library-aware: Considers what you already own to avoid duplicates
  • Fresh content: Prioritizes new releases over backcatalog
  • Transparent: Shows you exactly why each artist is recommended

Perfect for discovering new music that actually matches your taste, not what's trending globally.

📁 File Flow

  1. Search: Query Soulseek via slskd API
  2. Download: Files saved to configured download folder
  3. Process: Auto-organize to transfer folder with metadata enhancement
  4. Lyrics: Automatic LRC file generation using LRClib.net API
  5. Server Scan: Triggers library scan on your media server (60s delay)
  6. Database Sync: Updates SoulSync database with new tracks
  7. Structure: Transfer/Artist/Artist - Album/01 - Track.flac + 01 - Track.lrc
  8. Import: Media server picks up organized files with lyrics

🔧 Config Example

{
  "spotify": {
    "client_id": "your_client_id",
    "client_secret": "your_client_secret"
  },
  "plex": {
    "base_url": "http://localhost:32400",
    "token": "your_plex_token"
  },
  "jellyfin": {
    "base_url": "http://localhost:8096",
    "api_key": "your_jellyfin_api_key"
  },
  "navidrome": {
    "base_url": "http://localhost:4533",
    "username": "your_username",
    "password": "your_password"
  },
  "soulseek": {
    "slskd_url": "http://localhost:5030",
    "api_key": "your_api_key",
    "download_path": "/path/to/downloads",
    "transfer_path": "/path/to/music/library"
  }
}

⚠️ Important Notes

  • Must share files in slskd - downloaders without shares get banned
  • Docker uses separate database from GUI/WebUI versions
  • Transfer path should point to your media server music library
  • FLAC preferred but supports all common formats
  • OAuth from different devices: See DOCKER-OAUTH-FIX.md if you get "Insecure redirect URI" errors

🏗️ Architecture

  • Core: Service clients for Spotify, Plex, Jellyfin, Navidrome, Soulseek
  • Database: SQLite with full media library cache and automatic updates
  • UI: PyQt6 desktop + Flask web interface
  • Matching: Advanced text normalization and scoring
  • Lyrics: LRClib.net integration for synchronized lyrics
  • Automation: Multi-threaded with automatic retry, scanning, and database updates

Modern, clean, automated. Set it up once, let it manage your music library.