refactor: reuse Jellyfin settings for Spotify feature

- Remove duplicate JellyfinUrl and ApiKey from SpotifyImportSettings
- Use existing JELLYFIN_URL and JELLYFIN_API_KEY settings
- Simplify configuration - no duplicate settings needed
- Update documentation and .env.example
This commit is contained in:
2026-01-31 16:52:26 -05:00
parent 0ee1883ccb
commit 2b078453b2
6 changed files with 28 additions and 44 deletions

View File

@@ -100,19 +100,11 @@ CACHE_DURATION_HOURS=1
# REQUIRES: Jellyfin Spotify Import Plugin (https://github.com/Viperinius/jellyfin-plugin-spotify-import)
# This feature injects virtual Spotify playlists (Release Radar, Discover Weekly) into Jellyfin
# with tracks auto-matched from external providers (SquidWTF, Deezer, Qobuz)
# Uses JELLYFIN_URL and JELLYFIN_API_KEY for API access
# Enable Spotify playlist injection (optional, default: false)
SPOTIFY_IMPORT_ENABLED=false
# Jellyfin server URL (required if SPOTIFY_IMPORT_ENABLED=true)
# Should match your JELLYFIN_URL unless using a different URL for plugin access
SPOTIFY_IMPORT_JELLYFIN_URL=http://localhost:8096
# Jellyfin API key (REQUIRED if SPOTIFY_IMPORT_ENABLED=true)
# Get from Jellyfin Dashboard > API Keys > Create new key
# This is used to fetch missing tracks files from the Spotify Import plugin
SPOTIFY_IMPORT_API_KEY=
# Sync schedule: When does the Spotify Import plugin run?
# Set these to match your plugin's sync schedule in Jellyfin
# Example: If plugin runs daily at 4:15 PM, set HOUR=16 and MINUTE=15