mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -04:00
Added support tvg-country attribute
This commit is contained in:
1 parent
af38323a7f
commit
1320f581eb
2 files changed
+9
-2
No files matched your search
+2
-2
@@ -153,7 +153,7 @@ async function main() {
|
||||
console.log(`Updating '${country.url}'...`)
|
||||
helper.createFile(country.url, playlist.getHeader())
|
||||
channels.forEach(channel => {
|
||||
helper.appendToFile(country.url, channel.toString())
|
||||
helper.appendToFile(country.url, channel.toShortString())
|
||||
})
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ async function main() {
|
||||
console.log(`Updating 'channels/unsorted.m3u'...`)
|
||||
helper.createFile('channels/unsorted.m3u', playlist.getHeader())
|
||||
Object.values(unsorted).forEach(channel => {
|
||||
helper.appendToFile('channels/unsorted.m3u', channel.toString())
|
||||
helper.appendToFile('channels/unsorted.m3u', channel.toShortString())
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user