mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update update.js
This commit is contained in:
parent
caeda4f3fb
commit
81ca98388f
1 changed files with 2 additions and 1 deletions
|
@ -63,8 +63,9 @@ async function main() {
|
|||
|
||||
let countryPrograms = db_programs.filter(p => countryChannels.includes(p.channel))
|
||||
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')
|
||||
if (!lang) continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue