mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
wip
This commit is contained in:
parent
158c318d99
commit
3b08799772
4 changed files with 54 additions and 53 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue