Reload Soulseek client config on orchestrator init

Added a call to self.soulseek._setup_client() in DownloadOrchestrator to ensure the Soulseek client configuration is reloaded when the orchestrator is initialized. This helps keep the client settings in sync with the latest configuration.
This commit is contained in:
Broque Thomas 2026-01-11 21:02:23 -08:00
parent af5cc33c34
commit 007640a37f

View file

@ -48,6 +48,10 @@ class DownloadOrchestrator:
self.hybrid_primary = config_manager.get('download_source.hybrid_primary', 'soulseek')
self.youtube_min_confidence = config_manager.get('download_source.youtube_min_confidence', 0.65)
# Reload underlying client configs (SLSKD URL, API key, etc.)
self.soulseek._setup_client()
logger.info(f"🔄 Soulseek client config reloaded")
logger.info(f"🔄 Download Orchestrator settings reloaded - Mode: {self.mode}")
def is_configured(self) -> bool: