wip
This commit is contained in:
@@ -77,7 +77,7 @@ async function main() {
|
||||
utils.createDir(path.dirname(config.filename))
|
||||
utils.writeToFile(config.filename, xml)
|
||||
console.log(`File '${config.filename}' successfully updated`)
|
||||
console.log('Finish')
|
||||
console.log('Finish\r\n')
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user