|
|
@ -36,15 +36,17 @@ export class CountryTable implements Table {
|
|
|
|
const subdivision = subdivisions.first(
|
|
|
|
const subdivision = subdivisions.first(
|
|
|
|
(subdivision: Subdivision) => subdivision.code === code
|
|
|
|
(subdivision: Subdivision) => subdivision.code === code
|
|
|
|
)
|
|
|
|
)
|
|
|
|
const country = countries.first(
|
|
|
|
if (subdivision) {
|
|
|
|
(country: Country) => country.code === subdivision.country
|
|
|
|
const country = countries.first(
|
|
|
|
)
|
|
|
|
(country: Country) => country.code === subdivision.country
|
|
|
|
data.add([
|
|
|
|
)
|
|
|
|
`${country.name}/${subdivision.name}`,
|
|
|
|
data.add([
|
|
|
|
` ${subdivision.name}`,
|
|
|
|
`${country.name}/${subdivision.name}`,
|
|
|
|
logItem.count,
|
|
|
|
` ${subdivision.name}`,
|
|
|
|
`<code>https://iptv-org.github.io/iptv/${logItem.filepath}</code>`
|
|
|
|
logItem.count,
|
|
|
|
])
|
|
|
|
`<code>https://iptv-org.github.io/iptv/${logItem.filepath}</code>`
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
}
|
|
|
|
} else if (countryCode === 'INT') {
|
|
|
|
} else if (countryCode === 'INT') {
|
|
|
|
data.add([
|
|
|
|
data.add([
|
|
|
|
'ZZ',
|
|
|
|
'ZZ',
|
|
|
|