From 263ccaf93a146303a98cc7a201552ea00dd3c1e8 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 23 Dec 2025 07:14:05 +0300 Subject: [PATCH] Update stream.ts --- scripts/models/stream.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/models/stream.ts b/scripts/models/stream.ts index 31b3926f80..be2c7c91fb 100644 --- a/scripts/models/stream.ts +++ b/scripts/models/stream.ts @@ -392,7 +392,17 @@ export class Stream extends sdk.Models.Stream { let output = `#EXTINF:-1 tvg-id="${this.getTvgId()}"` 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()}`