Add user-agent attribute

to keep the list compatible with apps that use this attribute
This commit is contained in:
Allan Fernando 2021-10-14 01:04:03 -03:00
parent b0f1ea4712
commit fdfce02ffd
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ module.exports = class Channel {
this.tvg.language || '' this.tvg.language || ''
}" tvg-logo="${this.logo || ''}"` }" tvg-logo="${this.logo || ''}"`
if (this.http['user-agent']) {
info += ` user-agent="${this.http['user-agent']}"`
}
info += ` group-title="${this.group.title || ''}",${this.name}` info += ` group-title="${this.group.title || ''}",${this.name}`
if (this.resolution.height) { if (this.resolution.height) {