Implemented cache clearing in channel list

This commit is contained in:
Trevor Mears
2025-12-28 19:35:10 -08:00
parent 3b460591e0
commit b504faf909
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -172,6 +172,16 @@ class ChannelList {
}
}
/**
* Clear program info cache
* Useful when EPG data has been updated
*/
clearProgramInfoCache() {
if (this._programInfoCache) {
this._programInfoCache.clear();
}
}
escapeHtml(text) {
if (!text) return '';
return text