Add Docker path resolution for downloads

Updated _find_downloaded_file to resolve download paths for Docker environments, ensuring compatibility with host-mounted directories. Also updated README to clarify YouTube integration and sources.
pull/115/head
Broque Thomas 4 months ago
parent ec1d193093
commit 9aa2ac463a

@ -50,7 +50,7 @@ SoulSync bridges streaming services to your media server with automated discover
### Multi-Source Downloads
**Sources**: Soulseek (FLAC priority), Beatport charts, Spotify/Tidal/YouTube playlists
**Sources**: Soulseek (FLAC priority), YouTube (Audio), Beatport charts, Spotify/Tidal playlists
**Features**
- Quality profiles: Audiophile, Balanced, Mobile
@ -174,7 +174,7 @@ python web_server.py
**Scale**: 83,000+ lines Python, 120+ API endpoints, handles 10,000+ album libraries
**Integrations**: Spotify, Tidal, Plex, Jellyfin, Navidrome, Slskd, ListenBrainz, LRClib, music-map.com, Beatport
**Integrations**: Spotify, Tidal, YouTube, Plex, Jellyfin, Navidrome, Slskd, ListenBrainz, LRClib, music-map.com, Beatport
**Stack**: Python 3.8+, Flask, SQLite, PyQt6 (desktop GUI in maintenance mode)

@ -1372,6 +1372,9 @@ def _find_streaming_download_in_all_downloads(all_downloads, track_data):
def _find_downloaded_file(download_path, track_data):
"""Find the downloaded audio file in the downloads directory tree (works for Soulseek and YouTube)"""
# Ensure path is accessible in Docker (handles E:/ -> /host/mnt/e/)
download_path = docker_resolve_path(download_path)
audio_extensions = {'.mp3', '.flac', '.ogg', '.aac', '.wma', '.wav', '.m4a'}
target_filename = extract_filename(track_data.get('filename', ''))

Loading…
Cancel
Save