mirror of
https://github.com/iptv-org/iptv
synced 2026-10-26 21:08:28 -04:00
Filter category by name
This commit is contained in:
1 parent
e51c3d07d7
commit
8e01169cff
1 file changed
+1
-1
@@ -70,7 +70,7 @@ function parseIndex() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// categories
|
// categories
|
||||||
const categoryName = item.group.title || 'Other'
|
const categoryName = helper.filterGroup(item.group.title) || 'Other'
|
||||||
const categoryCode = categoryName.toLowerCase()
|
const categoryCode = categoryName.toLowerCase()
|
||||||
if (categories[categoryCode]) {
|
if (categories[categoryCode]) {
|
||||||
categories[categoryCode].channels++
|
categories[categoryCode].channels++
|
||||||
|
|||||||
Reference in new issue
Block a user