Update parser.js

This commit is contained in:
freearhey 2021-05-08 15:43:31 +03:00
parent ed60663c88
commit 246d4a9b48

View file

@ -214,9 +214,7 @@ class Channel {
toString(raw = false) { toString(raw = false) {
if (raw) return this.raw + '\n' if (raw) return this.raw + '\n'
const info = this.getInfo() return '#EXTINF:' + this.getInfo() + '\n' + this.url + '\n'
return '#EXTINF:' + info + '\n' + this.url + '\n'
} }
toObject() { toObject() {