Added unsorted playlist
This commit is contained in:
parent
48cc5e021c
commit
fe80b52f0f
|
@ -337,3 +337,5 @@ channels/eh.m3u
|
|||
channels/ye.m3u
|
||||
#EXTINF:-1,Zimbabwe
|
||||
channels/zw.m3u
|
||||
#EXTINF:-1,Unsorted
|
||||
channels/unsorted.m3u
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -18,6 +18,8 @@ helper.code2flag = function (code) {
|
|||
return '🇬🇧'
|
||||
case 'int':
|
||||
return '🌎'
|
||||
case 'unsorted':
|
||||
return ''
|
||||
default:
|
||||
return code
|
||||
.toUpperCase()
|
||||
|
|
Loading…
Reference in New Issue