removed cancel request
This commit is contained in:
@@ -198,25 +198,7 @@ class SeriesApp:
|
||||
def scan_status(self, value):
|
||||
"""Set scan_status event handler."""
|
||||
self._events.scan_status = value
|
||||
|
||||
def request_download_cancel(self) -> None:
|
||||
"""Request cancellation of any ongoing download.
|
||||
|
||||
This method signals the download provider to stop any active
|
||||
downloads. The actual cancellation happens asynchronously in
|
||||
the progress hook of the downloader.
|
||||
"""
|
||||
logger.info("Requesting download cancellation")
|
||||
self.loader.request_cancel()
|
||||
|
||||
def reset_download_cancel(self) -> None:
|
||||
"""Reset the download cancellation flag.
|
||||
|
||||
Should be called before starting a new download to ensure
|
||||
it's not immediately cancelled.
|
||||
"""
|
||||
self.loader.reset_cancel()
|
||||
|
||||
def load_series_from_list(self, series: list) -> None:
|
||||
"""
|
||||
Load series into the in-memory list.
|
||||
@@ -304,8 +286,6 @@ class SeriesApp:
|
||||
lookups. The 'serie_folder' parameter is only used for
|
||||
filesystem operations.
|
||||
"""
|
||||
# Reset cancel flag before starting new download
|
||||
self.reset_download_cancel()
|
||||
|
||||
logger.info(
|
||||
"Starting download: %s (key: %s) S%02dE%02d",
|
||||
|
||||
Reference in New Issue
Block a user