From 6d1bea374958d4cd027922994b28e1a76ae17b9c Mon Sep 17 00:00:00 2001 From: Allan Fernando Date: Thu, 14 Oct 2021 14:43:37 -0300 Subject: [PATCH] Add user-agent attribute --- scripts/helpers/Channel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/helpers/Channel.js b/scripts/helpers/Channel.js index 8d4a97f57f..3d177ad14b 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) {