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…
x
Reference in New Issue
Block a user