Update utils.js

This commit is contained in:
Aleksandr Statciuk 2021-10-06 18:12:16 +03:00
parent c09a837868
commit 39723b2e8f
1 changed files with 1 additions and 1 deletions

View File

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