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:
parent
af5cc33c34
commit
007640a37f
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue