From 3d00075dc7ae5f5c2af0284d514d9d045cbbc30c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 17 Jul 2021 14:03:17 +0200 Subject: [PATCH] Fix: Skip cancelled streams Signed-off-by: Knut Ahlers --- mod_streamSchedule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_streamSchedule.go b/mod_streamSchedule.go index e387176..7a9fec4 100644 --- a/mod_streamSchedule.go +++ b/mod_streamSchedule.go @@ -108,7 +108,7 @@ func cronUpdateSchedule() { title = fmt.Sprintf("%s (%s)", seg.Title, seg.Category.Name) } - if seg.StartTime == nil { + if seg.StartTime == nil || seg.CanceledUntil != nil { continue }