mirror of
https://github.com/iptv-org/iptv.git
synced 2024-07-08 21:36:20 +02:00
14 lines
234 B
JavaScript
14 lines
234 B
JavaScript
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
|
|
}
|