Update playlist/generate.js

This commit is contained in:
Aleksandr Statciuk committed 2022-02-13 07:03:39 +03:00
1 parent 777ef7ed20
commit 376a2f67c4
33 files changed
+608 -622

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
exports.group_title = require('./group_title')
exports.title = require('./title')
exports.tvg_id = require('./tvg_id')
exports.tvg_logo = require('./tvg_logo')
exports.tvg_country = require('./tvg_country')
-13
View File
@@ -1,13 +0,0 @@
module.exports = function () {
let title = this.channel_name
if (this.resolution.height) {
title += ` (${this.resolution.height}p)`
}
if (this.status.label) {
title += ` [${this.status.label}]`
}
return title
}
+1 -1
View File
@@ -1,3 +1,3 @@
module.exports = function () {
return this.channel_id || ''
return this.channel || ''
}