mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update update.js
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user