mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -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 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user