Fix: Skip cancelled streams

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-17 14:03:17 +02:00
parent 24785d7076
commit 3d00075dc7
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -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
}