mirror of
https://github.com/iptv-org/iptv
synced 2026-10-30 06:44:16 -04:00
Update format.js
Sort channels by name in `unsorted.m3u`
This commit is contained in:
1 parent
9273507062
commit
b0bec161f0
1 file changed
+1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user