diff --git a/scripts/parser.js b/scripts/parser.js index 3a53eccbf..5def3eacb 100644 --- a/scripts/parser.js +++ b/scripts/parser.js @@ -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) {