From fdfce02ffdf622a9ddabacdcd77986daf1a3faaf Mon Sep 17 00:00:00 2001 From: Allan Fernando Date: Thu, 14 Oct 2021 01:04:03 -0300 Subject: [PATCH] Add user-agent attribute to keep the list compatible with apps that use this attribute --- scripts/helpers/Channel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/helpers/Channel.js b/scripts/helpers/Channel.js index 8d4a97f57..3d177ad14 100644 --- a/scripts/helpers/Channel.js +++ b/scripts/helpers/Channel.js @@ -113,6 +113,10 @@ module.exports = class Channel { this.tvg.language || '' }" tvg-logo="${this.logo || ''}"` + if (this.http['user-agent']) { + info += ` user-agent="${this.http['user-agent']}"` + } + info += ` group-title="${this.group.title || ''}",${this.name}` if (this.resolution.height) {