Update format.js

Remove duplicates before sorting
what-a-patch-1
freearhey 5 years ago
parent e328de5a6e
commit 358c986311

@ -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