From c3350b016dd3d63ea33d4557011b8227d45b696d Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Mon, 13 May 2024 13:39:57 +0200 Subject: [PATCH] fix: timeout for yt music stream --- music_kraken/pages/youtube_music/youtube_music.py | 1 + 1 file changed, 1 insertion(+) diff --git a/music_kraken/pages/youtube_music/youtube_music.py b/music_kraken/pages/youtube_music/youtube_music.py index eff7376..0fb13a0 100644 --- a/music_kraken/pages/youtube_music/youtube_music.py +++ b/music_kraken/pages/youtube_music/youtube_music.py @@ -739,6 +739,7 @@ class YoutubeMusic(SuperYouTube): headers=media.get("headers", {}), chunk_size=main_settings["chunk_size"], method="GET", + timeout=main_settings["timeout"] * 3, ) else: result = DownloadResult(error_message=str(media.get("error") or self.not_download[source.hash_url]))