diff --git a/scripts/format.js b/scripts/format.js index 4d7b615c7e..d66c868b44 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -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)