mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05:00
Update validate.ts
This commit is contained in:
@@ -51,7 +51,7 @@ async function main() {
|
||||
const bufferBySiteId = new Dictionary()
|
||||
const errors: ValidationError[] = []
|
||||
parsedChannels.forEach((channel: Channel) => {
|
||||
const bufferId: string = `${channel.xmltv_id}:${channel.lang}`
|
||||
const bufferId: string = `${channel.xmltv_id}:${channel.lang}:${channel.site_id}`
|
||||
if (bufferById.missing(bufferId)) {
|
||||
bufferById.set(bufferId, true)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user