From 730946bc2baf4a31819a6c5fd1fe43508b0d3b6a Mon Sep 17 00:00:00 2001 From: Humanz Date: Thu, 3 Feb 2022 17:18:36 +0700 Subject: [PATCH] fix YtIsEmpty func --- pkg/database/ytdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/database/ytdb.go b/pkg/database/ytdb.go index ed32fa7c..abafcc1a 100755 --- a/pkg/database/ytdb.go +++ b/pkg/database/ytdb.go @@ -182,7 +182,7 @@ func (Data *LiveStream) InputYt() (int64, error) { //YtIsEmpty? func (Data LiveStream) YtIsEmpty() bool { - return Data.VideoID != "" + return Data.VideoID == "" } //Check new video or not