fix: use _is_stopped flag for queue start check

_active_download tracks single download; queue uses _is_stopped. Wrong flag
caused false 'already active' errors when queue idle.
This commit is contained in:
2026-06-27 14:01:11 +02:00
parent fd84a18b30
commit 978e6ef200

View File

@@ -828,8 +828,8 @@ class DownloadService:
# Initialize queue progress tracking if not already done
await self._init_queue_progress()
# Check if download already active
if self._active_download:
# Check if queue is already running
if not self._is_stopped:
raise DownloadServiceError(
"Queue processing is already active"
)