diff --git a/index.m3u b/index.m3u index e0287e751d..d727ae7264 100644 --- a/index.m3u +++ b/index.m3u @@ -337,3 +337,5 @@ channels/eh.m3u channels/ye.m3u #EXTINF:-1,Zimbabwe channels/zw.m3u +#EXTINF:-1,Unsorted +channels/unsorted.m3u diff --git a/scripts/format.js b/scripts/format.js index 515c4c822e..a123c68bb7 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -15,6 +15,8 @@ async function main() { const index = parseIndex() for (let item of index.items) { + if (item.name === 'Unsorted') continue + console.log(`Processing '${item.url}'...`) let playlist = parsePlaylist(item.url) items = items.concat(playlist.items) diff --git a/scripts/helper.js b/scripts/helper.js index e43e95aedb..4489c5abf9 100644 --- a/scripts/helper.js +++ b/scripts/helper.js @@ -18,6 +18,8 @@ helper.code2flag = function (code) { return '🇬🇧' case 'int': return '🌎' + case 'unsorted': + return '' default: return code .toUpperCase()