mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 10:57:18 -05:00
Update parser.js
Skip playlist when it fills tvg-name
This commit is contained in:
@@ -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