From 8bfa8f84b9f86a043f8bfc9f09ed02ede7ed30de Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Fri, 2 Aug 2024 14:56:14 +0800 Subject: [PATCH] fix monitor --- server/watchlist.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/watchlist.go b/server/watchlist.go index fb5598b..64c8971 100644 --- a/server/watchlist.go +++ b/server/watchlist.go @@ -109,7 +109,8 @@ func (s *Server) AddTv2Watchlist(c *gin.Context) (interface{}, error) { } else { t, err := time.Parse("2006-01-02", ep.AirDate) if err != nil { - log.Error("air date not known, will not monitor: %v", ep.AirDate) + log.Error("air date not known, will monitor: %v", ep.AirDate) + shouldMonitor = true } else { if time.Since(t) < 24*time.Hour { //monitor episode air 24h before now