mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-14 02:50:04 -04:00
Update parser.js
Skip playlist when it fills tvg-name
This commit is contained in:
parent
c35c48d5b1
commit
546ab6a69c
1 changed files with 7 additions and 1 deletions
|
@ -172,7 +172,13 @@ class Channel {
|
||||||
}
|
}
|
||||||
|
|
||||||
get tvgName() {
|
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) {
|
toString(short = false) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue