iCalendar export (ScheduleConfig → .ics) #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#2
What to build
Export a Channel's ScheduleConfig as an iCalendar (.ics) file per RFC 5545. Each ProgrammingBlock maps to a VEVENT with RRULE for weekly recurrence. K-tv-specific properties (filter, strategy, interstitial_rule, mid_roll_rule) are stored in X-KTV-* custom properties.
Implement as a pure domain service function (like generate_m3u/generate_xmltv). Add an API endpoint (e.g.,
GET /channels/:id/export.ics) and an MCP tool.Acceptance criteria
Blocked by
None — can start immediately