Update utils.js

This commit is contained in:
Aleksandr Statciuk 2021-10-06 18:30:38 +03:00
parent 51f012d103
commit 1373d9c24d
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ utils.parsePrograms = async function (data, config) {
.filter(i => i)
.map(program => {
program.channel = channel.xmltv_id
program.lang = program.lang || channel.lang || config.lang || undefined
program.lang = program.lang || channel.lang || config.lang || 'en'
return program
})
}