mirror of
https://github.com/iptv-org/iptv.git
synced 2024-07-05 20:12:26 +02:00
Update parser.js
Skip playlist when it fills tvg-name
This commit is contained in:
parent
c35c48d5b1
commit
546ab6a69c
@ -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…
Reference in New Issue
Block a user