mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update update.js
This commit is contained in:
@@ -63,8 +63,9 @@ async function main() {
|
|||||||
|
|
||||||
let countryPrograms = db_programs.filter(p => countryChannels.includes(p.channel))
|
let countryPrograms = db_programs.filter(p => countryChannels.includes(p.channel))
|
||||||
let langGroups = _.groupBy(countryPrograms, 'lang')
|
let langGroups = _.groupBy(countryPrograms, 'lang')
|
||||||
|
let countryLanguages = _.uniq(['eng', ...country.languages])
|
||||||
|
|
||||||
for (let langCode of country.languages) {
|
for (let langCode of countryLanguages) {
|
||||||
const lang = convertLangCode(langCode, '3', '1')
|
const lang = convertLangCode(langCode, '3', '1')
|
||||||
if (!lang) continue
|
if (!lang) continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user