From 978e6ef200ac1054611e44d3c75d4d985d31b3a9 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sat, 27 Jun 2026 14:01:11 +0200 Subject: [PATCH] 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. --- src/server/services/download_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/services/download_service.py b/src/server/services/download_service.py index d3f1d81..705af9b 100644 --- a/src/server/services/download_service.py +++ b/src/server/services/download_service.py @@ -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" )