Update stream.ts
This commit is contained in:
@@ -392,7 +392,17 @@ export class Stream extends sdk.Models.Stream {
|
|||||||
let output = `#EXTINF:-1 tvg-id="${this.getTvgId()}"`
|
let output = `#EXTINF:-1 tvg-id="${this.getTvgId()}"`
|
||||||
|
|
||||||
if (options.public) {
|
if (options.public) {
|
||||||
output += ` tvg-logo="${this.getTvgLogo()}" group-title="${this.groupTitle}"`
|
output += ` tvg-logo="${this.getTvgLogo()}"`
|
||||||
|
|
||||||
|
if (this.referrer) {
|
||||||
|
output += ` http-referrer="${this.referrer}"`
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.user_agent) {
|
||||||
|
output += ` http-user-agent="${this.user_agent}"`
|
||||||
|
}
|
||||||
|
|
||||||
|
output += ` group-title="${this.groupTitle}"`
|
||||||
}
|
}
|
||||||
|
|
||||||
output += `,${this.getFullTitle()}`
|
output += `,${this.getFullTitle()}`
|
||||||
|
|||||||
Reference in New Issue
Block a user