mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update format.js
Remove duplicates before sorting
This commit is contained in:
parent
dfc62c86fd
commit
61a86de1be
1 changed files with 1 additions and 1 deletions
|
@ -34,9 +34,9 @@ async function main() {
|
||||||
for (const playlist of playlists) {
|
for (const playlist of playlists) {
|
||||||
await loadPlaylist(playlist.url)
|
await loadPlaylist(playlist.url)
|
||||||
.then(addToBuffer)
|
.then(addToBuffer)
|
||||||
|
.then(removeDuplicates)
|
||||||
.then(sortChannels)
|
.then(sortChannels)
|
||||||
.then(filterChannels)
|
.then(filterChannels)
|
||||||
.then(removeDuplicates)
|
|
||||||
.then(detectResolution)
|
.then(detectResolution)
|
||||||
.then(savePlaylist)
|
.then(savePlaylist)
|
||||||
.then(done)
|
.then(done)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue