From 007640a37f835d4ab69fdd436a22c7ea4868874f Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sun, 11 Jan 2026 21:02:23 -0800 Subject: [PATCH] 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. --- core/download_orchestrator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/download_orchestrator.py b/core/download_orchestrator.py index 059bf593..e5f9a06b 100644 --- a/core/download_orchestrator.py +++ b/core/download_orchestrator.py @@ -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: