mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-18 00:00:46 +02:00
14 lines
258 B
JavaScript
14 lines
258 B
JavaScript
module.exports = function () {
|
|
if (this.group_title) return this.group_title
|
|
|
|
if (this.categories.length) {
|
|
return this.categories
|
|
.filter(c => c)
|
|
.map(category => category.name)
|
|
.sort()
|
|
.join(';')
|
|
}
|
|
|
|
return 'Undefined'
|
|
}
|