Update generate-playlists.js
This commit is contained in:
@ -1,12 +1,3 @@
|
||||
module.exports = function () {
|
||||
if (this.group_title !== undefined) return this.group_title
|
||||
|
||||
if (Array.isArray(this.categories) && this.categories.length) {
|
||||
return this.categories
|
||||
.map(i => i.name)
|
||||
.sort()
|
||||
.join(';')
|
||||
}
|
||||
|
||||
return 'Undefined'
|
||||
return this.group_title || 'Undefined'
|
||||
}
|
||||
|
Reference in New Issue
Block a user