From 90c8b7c8497dacddf8c8da753d965ae5f268ac0a Mon Sep 17 00:00:00 2001 From: Yonah Date: Thu, 19 Mar 2026 01:10:12 +0900 Subject: [PATCH] streamdata: omitempty category field This is treated as optional when handling the prompt. Signed-off-by: Yonah --- streamdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamdata.go b/streamdata.go index 9188884..562a08d 100644 --- a/streamdata.go +++ b/streamdata.go @@ -125,7 +125,7 @@ type VOD struct { // Day of stream start. Date time.Time `json:"date"` // Free-form category string. - Category string `json:"category"` + Category string `json:"category,omitempty"` } // ChannelMismatchError describes a mismatching [Ident.Channel] passed to [Channel.Add].