Add user-agent attribute
This commit is contained in:
parent
11ca21b55c
commit
6d1bea3749
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue