Update format.js

Sort channels by name in `unsorted.m3u`
This commit is contained in:
freearhey 2021-01-27 17:32:16 +03:00
parent 1586f6945d
commit ae2aa49e51

View File

@ -43,6 +43,7 @@ async function main() {
if (index.items.length) {
await loadPlaylist('channels/unsorted.m3u')
.then(removeUnsortedDuplicates)
.then(sortChannels)
.then(updatePlaylist)
.then(done)
}