Merge pull request #5035 from allanf181/user-agent

Add user-agent attribute
This commit is contained in:
Aleksandr Statciuk 2021-10-16 19:53:25 +03:00 committed by GitHub
commit d91dab9c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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) {