From 77988c16828d31af3d202f28d02e5f9cf3f339fe Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Wed, 10 Aug 2022 22:01:10 +0200 Subject: [PATCH] woops --- sources/youtubeVideo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index 9b691bc..0d3986c 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -800,7 +800,7 @@ func (v *YoutubeVideo) downloadAndPublish(daemon *jsonrpc.Client, params SyncPar } buggedLivestream := v.youtubeInfo.LiveStatus == "post_live" - if buggedLivestream && dur < 2*time.Hour { + if buggedLivestream && dur >= 2*time.Hour { return nil, errors.Err("livestream is likely bugged as it was recently published and has a length of %s which is more than 2 hours", dur.String()) } for {