feat: fix download-to-user matching, add cover art to downloads
- Fix seriesMap key (use Sonarr internal id, not tvdbId) - Fix Sonarr tag resolution (use tag map like Radarr) - Use sourceTitle for history record matching - Fall back to embedded movie/series objects when API timeouts - Add includeMovie/includeSeries params to queue/history API calls - Add coverArt field to all download responses (TMDB poster URLs) - Add cover art display to frontend download cards - Fix user-summary route to use instance config and tag maps
This commit is contained in:
77
.env.sample
Normal file
77
.env.sample
Normal file
@@ -0,0 +1,77 @@
|
||||
# sofarr Configuration
|
||||
# Copy this file to .env and update with your values
|
||||
|
||||
# =============================================================================
|
||||
# SERVER SETTINGS
|
||||
# =============================================================================
|
||||
PORT=3001
|
||||
|
||||
# Logging level: debug, info, warn, error, silent
|
||||
# - debug: Verbose logging for troubleshooting
|
||||
# - info: Standard operational logging (default)
|
||||
# - warn: Only warnings and errors
|
||||
# - error: Only errors
|
||||
# - silent: No logging
|
||||
LOG_LEVEL=info
|
||||
|
||||
# =============================================================================
|
||||
# EMBY (Authentication - Required)
|
||||
# =============================================================================
|
||||
EMBY_URL=https://emby.example.com
|
||||
EMBY_API_KEY=your-emby-api-key-here
|
||||
|
||||
# =============================================================================
|
||||
# SABNZBD INSTANCES (JSON Array Format)
|
||||
# Add one or more SABnzbd instances as a single-line JSON array
|
||||
# Format: [{"name":"instance-name","url":"https://...","apiKey":"..."}]
|
||||
# =============================================================================
|
||||
SABNZBD_INSTANCES=[{"name":"primary","url":"https://sabnzbd.example.com","apiKey":"your-sabnzbd-api-key"}]
|
||||
|
||||
# Legacy single-instance format (optional - still supported)
|
||||
# SABNZBD_URL=https://sabnzbd.example.com
|
||||
# SABNZBD_API_KEY=your-sabnzbd-api-key
|
||||
|
||||
# =============================================================================
|
||||
# QBITTORRENT INSTANCES (JSON Array Format)
|
||||
# Add one or more qBittorrent instances as a single-line JSON array
|
||||
# Uses username/password authentication (not API key)
|
||||
# Format: [{"name":"instance-name","url":"https://...","username":"...","password":"..."}]
|
||||
# =============================================================================
|
||||
QBITTORRENT_INSTANCES=[{"name":"main","url":"https://qbittorrent.example.com","username":"admin","password":"your-password"}]
|
||||
|
||||
# Legacy single-instance format (optional - still supported)
|
||||
# QBITTORRENT_URL=https://qbittorrent.example.com
|
||||
# QBITTORRENT_USERNAME=admin
|
||||
# QBITTORRENT_PASSWORD=your-password
|
||||
|
||||
# =============================================================================
|
||||
# SONARR INSTANCES (JSON Array Format)
|
||||
# Add one or more Sonarr instances as a single-line JSON array
|
||||
# Format: [{"name":"instance-name","url":"https://...","apiKey":"..."}]
|
||||
# =============================================================================
|
||||
SONARR_INSTANCES=[{"name":"main","url":"https://sonarr.example.com","apiKey":"your-sonarr-api-key"}]
|
||||
|
||||
# Legacy single-instance format (optional - still supported)
|
||||
# SONARR_URL=https://sonarr.example.com
|
||||
# SONARR_API_KEY=your-sonarr-api-key
|
||||
|
||||
# =============================================================================
|
||||
# RADARR INSTANCES (JSON Array Format)
|
||||
# Add one or more Radarr instances as a single-line JSON array
|
||||
# Format: [{"name":"instance-name","url":"https://...","apiKey":"..."}]
|
||||
# =============================================================================
|
||||
RADARR_INSTANCES=[{"name":"main","url":"https://radarr.example.com","apiKey":"your-radarr-api-key"}]
|
||||
|
||||
# Legacy single-instance format (optional - still supported)
|
||||
# RADARR_URL=https://radarr.example.com
|
||||
# RADARR_API_KEY=your-radarr-api-key
|
||||
|
||||
# =============================================================================
|
||||
# NOTES
|
||||
# =============================================================================
|
||||
# 1. All JSON arrays must be on a single line (no line breaks)
|
||||
# 2. Instance "name" can be anything descriptive (e.g., "main", "4k", "backup")
|
||||
# 3. URLs should include protocol (http:// or https://)
|
||||
# 4. For qBittorrent, ensure Web UI is enabled in settings
|
||||
# 5. User downloads are matched by tags in Sonarr/Radarr - tag your media!
|
||||
# =============================================================================
|
||||
Reference in New Issue
Block a user