From ae2aa49e5173cbf6c511055705f60ff8ce903c82 Mon Sep 17 00:00:00 2001 From: freearhey Date: Wed, 27 Jan 2021 17:32:16 +0300 Subject: [PATCH] Update format.js Sort channels by name in `unsorted.m3u` --- scripts/format.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/format.js b/scripts/format.js index a7364feb0..8edd4682c 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -43,6 +43,7 @@ async function main() { if (index.items.length) { await loadPlaylist('channels/unsorted.m3u') .then(removeUnsortedDuplicates) + .then(sortChannels) .then(updatePlaylist) .then(done) }