mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update index_category_m3u.js
This commit is contained in:
parent
081fcac929
commit
0c3a1df90f
1 changed files with 7 additions and 5 deletions
|
@ -13,7 +13,9 @@ module.exports = async function (streams = []) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.categories.forEach(category => {
|
stream.categories
|
||||||
|
.filter(c => c)
|
||||||
|
.forEach(category => {
|
||||||
const item = _.cloneDeep(stream)
|
const item = _.cloneDeep(stream)
|
||||||
item.group_title = category.name
|
item.group_title = category.name
|
||||||
items.push(item)
|
items.push(item)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue