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) { for (const playlist of playlists) {
await loadPlaylist(playlist.url) await loadPlaylist(playlist.url)
.then(addToBuffer) .then(addToBuffer)
.then(removeDuplicates)
.then(sortChannels) .then(sortChannels)
.then(filterChannels) .then(filterChannels)
.then(removeDuplicates)
.then(detectResolution) .then(detectResolution)
.then(savePlaylist) .then(savePlaylist)
.then(done) .then(done)

Loading…
Cancel
Save