This commit is contained in:
freearhey 2021-03-11 18:23:22 +03:00
parent 158c318d99
commit 3b08799772
4 changed files with 54 additions and 53 deletions

View file

@ -21,7 +21,7 @@ utils.convertToXMLTV = function ({ channels, programs }) {
if (start && title) {
output += `
<programme start="${start}" stop="${stop}" channel="${program.channel}"><title lang="${lang}">${title}</title>`
<programme start="${start}" stop="${stop}" channel="${program.channel}"><title lang="${lang}">${title}</title>`
if (program.category) {
output += `<category lang="${lang}">${program.category}</category>`
@ -31,7 +31,7 @@ utils.convertToXMLTV = function ({ channels, programs }) {
}
}
output += '</tv>'
output += '\r\n</tv>'
return output
}