Add web config

This commit is contained in:
Nirvana
2025-12-15 14:26:23 +01:00
parent 3ee40ea708
commit 95b6f4368c
+4 -1
View File
@@ -284,7 +284,10 @@ class EPGMappingManager {
// Store EPG channels with their display names
this.epgChannels = epgData.channels || [];
this.epgChannelMap = epgData.channel_map || {}; // Map of id -> display name
this.fuzzySet = new FuzzySet(this.epgChannels);
// Create FuzzySet with DISPLAY NAMES, not IDs
const displayNames = Object.values(this.epgChannelMap);
this.fuzzySet = new FuzzySet(displayNames);
this.channelData = providerChannels.channels.map(channel => {
// Use exact property names from StreamingChannel.to_dict()