Compare commits

..

2 Commits

Author SHA1 Message Date
140f2a3b0f streamdata: edit metadata
This edits metadata in a robust way.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-20 02:12:30 +09:00
15222cbc25 streamdata: mirror field
For tracking YouTube uploads.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-20 02:12:03 +09:00

View File

@@ -130,6 +130,8 @@ type VOD struct {
Date time.Time `json:"date"` Date time.Time `json:"date"`
// Free-form category string. // Free-form category string.
Category string `json:"category,omitempty"` Category string `json:"category,omitempty"`
// A mirror site the asset is uploaded to, usually YouTube.
Mirror string `json:"mirror,omitempty"`
} }
// ChannelMismatchError describes a mismatching [Ident.Channel] passed to [Channel.Add]. // ChannelMismatchError describes a mismatching [Ident.Channel] passed to [Channel.Add].