From 7006513aaf21ff6014a6ba4ab394b96b95f5f072 Mon Sep 17 00:00:00 2001 From: Technomancer702 Date: Sat, 31 Jan 2026 10:59:28 -0800 Subject: [PATCH] fix: remove deduplication logic from channel list --- public/js/components/ChannelList.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/public/js/components/ChannelList.js b/public/js/components/ChannelList.js index e8da5ad..5147892 100644 --- a/public/js/components/ChannelList.js +++ b/public/js/components/ChannelList.js @@ -807,18 +807,7 @@ class ChannelList { sourceType: 'xtream' })); - // Deduplicate by name within the same group (Xtream often sends backup streams with same name) - const seen = new Set(); - const uniqueChannels = []; - for (const ch of channelList) { - const key = `${ch.groupTitle}|${ch.name}`; - if (!seen.has(key)) { - seen.add(key); - uniqueChannels.push(ch); - } - } - - this.channels = this.channels.concat(uniqueChannels); + this.channels = this.channels.concat(channelList); } /**