From fa9dc35123398508f8672f5c309c5d5ee12c8071 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 26 Jul 2021 18:03:37 +0200 Subject: [PATCH] fix patched bug --- sources/youtubeVideo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index 709a59f..2ac42ff 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -216,7 +216,7 @@ func (v *YoutubeVideo) download() error { defer func(start time.Time) { timing.TimedComponent("download").Add(time.Since(start)) }(start) - if v.youtubeInfo.IsLive != nil { + if v.youtubeInfo.IsLive == true { return errors.Err("video is a live stream and hasn't completed yet") } videoPath := v.getFullPath()