From 47dafe565f6a290e34f3f0dbf62591c5f81b54db Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:27:23 +0200 Subject: [PATCH] Pass concurrent_fragments to DownloadThread Read concurrent_fragments from ConfigManager (defaulting to 1) and forward it into the DownloadThread constructor so the download fragment concurrency setting is propagated to the downloader. --- ytsage/gui/ytsage_gui_main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ytsage/gui/ytsage_gui_main.py b/ytsage/gui/ytsage_gui_main.py index fd498f3..880a095 100644 --- a/ytsage/gui/ytsage_gui_main.py +++ b/ytsage/gui/ytsage_gui_main.py @@ -755,6 +755,7 @@ class YTSageApp(QMainWindow, FormatTableMixin, VideoInfoMixin, AnalysisMixin): # Get filename format from config filename_format = ConfigManager.get("filename_format") + concurrent_fragments = ConfigManager.get("concurrent_fragments") or 1 # Create download thread with resolution in output template self.download_thread = DownloadThread( @@ -785,6 +786,7 @@ class YTSageApp(QMainWindow, FormatTableMixin, VideoInfoMixin, AnalysisMixin): preferred_audio_format=self.preferred_audio_format, # Pass preferred audio format audio_normalization=self.audio_normalization, # Pass audio normalization setting filename_format=filename_format, # Pass the filename format + concurrent_fragments=concurrent_fragments, # Pass the concurrent fragments ) # Connect signals