mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update update.js
This commit is contained in:
parent
5be6540e07
commit
d3768e1f98
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ async function main() {
|
|||
channels = _.sortBy(channels, 'id')
|
||||
channels = _.uniqBy(channels, 'id')
|
||||
|
||||
programs = programs = _.sortBy(programs, ['channel', 'start'])
|
||||
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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue