diff --git a/scripts/commands/guides/update.js b/scripts/commands/guides/update.js index 2f8fe75e..fa9425e8 100644 --- a/scripts/commands/guides/update.js +++ b/scripts/commands/guides/update.js @@ -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')