Update format.js

Filter unsorted channels too
This commit is contained in:
freearhey 2021-03-01 01:51:14 +03:00
parent 73ada87393
commit 22fd538732
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ async function main() {
if (playlists.length) { if (playlists.length) {
await loadPlaylist('channels/unsorted.m3u') await loadPlaylist('channels/unsorted.m3u')
.then(removeUnsortedDuplicates) .then(removeUnsortedDuplicates)
.then(filterChannels)
.then(sortChannels) .then(sortChannels)
.then(savePlaylist) .then(savePlaylist)
.then(done) .then(done)