mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-05 00:01:35 +02:00
Update format.js
Sort channels by name in `unsorted.m3u`
This commit is contained in:
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…
Reference in New Issue
Block a user