Update utils.js
This commit is contained in:
		
							parent
							
								
									c09a837868
								
							
						
					
					
						commit
						39723b2e8f
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
    })
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue