mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update update-readme.js
This commit is contained in:
parent
ea60c96416
commit
043ac262eb
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ function parseIndex() {
|
|||
const countryCode = util.getBasename(rootItem.url).toUpperCase()
|
||||
const epg = playlist.header.attrs['x-tvg-url'] ? `<code>${playlist.header.attrs['x-tvg-url']}</code>` : ''
|
||||
|
||||
// country
|
||||
output.countries.push({
|
||||
country: rootItem.name,
|
||||
channels: playlist.items.length,
|
||||
|
@ -41,6 +42,7 @@ function parseIndex() {
|
|||
})
|
||||
|
||||
for(let item of playlist.items) {
|
||||
|
||||
// language
|
||||
const languageName = item.tvg.language || 'Undefined'
|
||||
const languageCode = ISO6391.getCode(languageName) || 'undefined'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue