feat(epg): update interfaces to match epg-parser v0.4.0

This commit is contained in:
4gray committed 2025-10-23 21:53:24 +02:00
1 parent 94e8d76a36
commit 0ec25115e0
4 files changed
+31 -10

No files matched your search

@@ -1,20 +1,20 @@
/**
* EPG Program interface compatible with epg-parser v0.4.0
* Note: start/stop are ISO strings, date is string instead of array
*/
export interface EpgProgram {
start: string;
stop: string;
start: string; // ISO string
stop: string; // ISO string
channel: string;
title: { lang: string; value: string }[];
desc: { lang: string; value: string }[];
category: { lang: string; value: string }[];
date: any[];
date: string; // Changed from array to string in v0.4.0
episodeNum: any[];
previouslyShown: any[];
subtitles: any[];
icon: any[];
icon: { src: string; width?: number; height?: number }[];
rating: { system: string; value: string }[];
credits: any[];
audio: any[];
_attributes: {
start: string;
stop: string;
};
}