diff --git a/scripts/commands/guides/update.js b/scripts/commands/guides/update.js index 304d4ccc..2f8fe75e 100644 --- a/scripts/commands/guides/update.js +++ b/scripts/commands/guides/update.js @@ -27,6 +27,7 @@ async function main() { } programs = _.sortBy(programs, ['channel', 'start']) programs = programs.map(p => new Program(p, channels[p.channel])) + programs = _.uniqBy(programs, 'start') total += programs.length channels = Object.values(channels) channels = _.sortBy(channels, 'id')