From 19b83ce880fe7714c46a73eedcff5a186d8add64 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Wed, 15 May 2024 15:04:00 +0200 Subject: [PATCH] fix: saving streaming progress on retry --- music_kraken/connection/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/music_kraken/connection/connection.py b/music_kraken/connection/connection.py index d15aa32..44fdd5f 100644 --- a/music_kraken/connection/connection.py +++ b/music_kraken/connection/connection.py @@ -366,6 +366,7 @@ class Connection: if retry: self.LOGGER.warning(f"Retrying stream...") accepted_response_codes.add(206) + stream_kwargs["progress"] = progress return Connection.stream_into(**stream_kwargs) return DownloadResult()