diff --git a/scripts/commands/channels/validate.ts b/scripts/commands/channels/validate.ts index 3953e105..0bf2d6d4 100644 --- a/scripts/commands/channels/validate.ts +++ b/scripts/commands/channels/validate.ts @@ -51,14 +51,6 @@ async function main() { const bufferBySiteId = new Dictionary() const errors: ValidationError[] = [] parsedChannels.forEach((channel: Channel) => { - const bufferId: string = `${channel.xmltv_id}:${channel.lang}:${channel.site_id}` - if (bufferById.missing(bufferId)) { - bufferById.set(bufferId, true) - } else { - errors.push({ type: 'duplicate', ...channel }) - totalErrors++ - } - const bufferSiteId: string = `${channel.site_id}:${channel.lang}` if (bufferBySiteId.missing(bufferSiteId)) { bufferBySiteId.set(bufferSiteId, true)