Update update.js

#1361
This commit is contained in:
Aleksandr Statciuk 2022-11-19 13:48:18 +03:00
parent a79e600b14
commit d1316f6615

View file

@ -102,6 +102,7 @@ async function main() {
programs = programs = _.sortBy(programs, ['channel', 'start'])
programs = programs.map(p => new Program(p, new Channel(channels_dic[p.channel])))
programs = _.uniqBy(programs, p => p.channel + p.start)
const filename = country.code.toLowerCase()
const xmlFilepath = `${PUBLIC_DIR}/guides/${filename}.xml`