From 2a60612103509c386259c979140798080b56d9aa Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 10 Aug 2021 16:52:18 +0300 Subject: [PATCH] Update Channel.js --- scripts/helpers/Channel.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/helpers/Channel.js b/scripts/helpers/Channel.js index 043f7886f3..8c4b0c397a 100644 --- a/scripts/helpers/Channel.js +++ b/scripts/helpers/Channel.js @@ -22,6 +22,11 @@ module.exports = class Channel { this.languages = this.parseLanguages(data.tvg.language) } + updateUrl(url) { + this.url = url + this.data.url = url + } + parseName(title) { return title .trim()