mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update parser.js
Skip playlist when it fills tvg-name
This commit is contained in:
1 parent
f025c27ac4
commit
12324ce740
1 file changed
+7
-1
+7
-1
@@ -172,7 +172,13 @@ class Channel {
|
||||
}
|
||||
|
||||
get tvgName() {
|
||||
return this.tvg.name || this.name
|
||||
if (this.tvg.name) {
|
||||
return this.tvg.name
|
||||
} else if (this.filename !== 'unsorted') {
|
||||
return this.name.replace(/\"/gi, '')
|
||||
}
|
||||
|
||||
return ''
|
||||
}
|
||||
|
||||
toString(short = false) {
|
||||
|
||||
Reference in new issue
Block a user