From 78a48348a8986f0044fbce2097ad3e099258d32d Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Tue, 12 Nov 2024 22:15:11 +0100 Subject: ✨ Track segments are downloaded simultaneously, which results in a huge speed increase. Some refactoring work has been done. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/model/downloader.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tidal_dl_ng/model/downloader.py (limited to 'tidal_dl_ng/model/downloader.py') diff --git a/tidal_dl_ng/model/downloader.py b/tidal_dl_ng/model/downloader.py new file mode 100644 index 0000000..b8c5348 --- /dev/null +++ b/tidal_dl_ng/model/downloader.py @@ -0,0 +1,9 @@ +import pathlib +from dataclasses import dataclass + + +@dataclass +class DownloadSegmentResult: + result: bool + url: str + path_segment: pathlib.Path -- cgit v1.3.1