Update format.js

Remove duplicates before sorting
pull/2421/head
freearhey 4 years ago
parent dfc62c86fd
commit 61a86de1be

@ -34,9 +34,9 @@ async function main() {
for (const playlist of playlists) {
await loadPlaylist(playlist.url)
.then(addToBuffer)
.then(removeDuplicates)
.then(sortChannels)
.then(filterChannels)
.then(removeDuplicates)
.then(detectResolution)
.then(savePlaylist)
.then(done)

Loading…
Cancel
Save