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
5abdb59bfe
commit
e824218dbc
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ async function main() {
|
|||
}
|
||||
programs = _.sortBy(programs, ['channel', 'start'])
|
||||
programs = programs.map(p => new Program(p, channels[p.channel]))
|
||||
programs = _.uniqBy(programs, 'start')
|
||||
programs = _.uniqBy(programs, p => p.channel + p.start)
|
||||
total += programs.length
|
||||
channels = Object.values(channels)
|
||||
channels = _.sortBy(channels, 'id')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue