Fixed channel ID format mismatch

This commit is contained in:
Trevor Mears
2025-12-28 16:14:28 -08:00
parent 7e5a4174d1
commit dc15e1f396
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -298,7 +298,9 @@ class ChannelList {
`;
for (const channel of channels) {
const channelHidden = !isFavoritesGroup && this.isHidden('channel', channel.sourceId, channel.id);
// Use streamId (raw ID) for hidden check since that's what SourceManager stores
const rawChannelId = channel.streamId || channel.id;
const channelHidden = !isFavoritesGroup && this.isHidden('channel', channel.sourceId, rawChannelId);
if (channelHidden && !this.showHidden) continue;
const isActive = this.currentChannel?.id === channel.id;