From 84c36d8aebbb137db7956ae5b35aad2ff3d51f30 Mon Sep 17 00:00:00 2001 From: Kethsar Date: Fri, 2 Feb 2024 06:11:28 -0800 Subject: [PATCH] Actually fix not merging when error thrown while monitoring channel --- player_response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player_response.go b/player_response.go index b0f21fe..d1c82a1 100644 --- a/player_response.go +++ b/player_response.go @@ -375,7 +375,7 @@ func (di *DownloadInfo) GetPlayerResponse(videoHtml []byte) (*PlayerResponse, er func (di *DownloadInfo) GetPlayablePlayerResponse() (retrieved int, pr *PlayerResponse, selectedQualities []string) { firstWait := true isLiveURL := di.LiveURL - waitOnLiveURL := isLiveURL && di.RetrySecs > 0 + waitOnLiveURL := isLiveURL && di.RetrySecs > 0 && !di.InProgress liveWaited := 0 retryCount := 0 var secsLate int