Update format.js

Sort channels by name in `unsorted.m3u`
pull/2070/head
freearhey 4 years ago
parent 1586f6945d
commit ae2aa49e51

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

Loading…
Cancel
Save