From 58079845193aa571eadf185a9f732d32d920d11a Mon Sep 17 00:00:00 2001 From: Martin Ponce Date: Fri, 27 Sep 2024 22:22:24 +0800 Subject: [PATCH] fix(xtream): display epg when live tv channel is selected set this.streamUrl so that child live-stream-layout displays the epg --- src/app/xtream/xtream-main-container.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/xtream/xtream-main-container.component.ts b/src/app/xtream/xtream-main-container.component.ts index e6521c6fb..5d4869e77 100644 --- a/src/app/xtream/xtream-main-container.component.ts +++ b/src/app/xtream/xtream-main-container.component.ts @@ -349,6 +349,7 @@ export class XtreamMainContainerComponent implements OnInit { } openPlayer(streamUrl: string, title: string) { + this.streamUrl = streamUrl; this.player = this.settings()?.player ?? VideoPlayer.VideoJs; if (this.player === VideoPlayer.MPV) { if (!this.hideExternalInfoDialog()) @@ -363,7 +364,6 @@ export class XtreamMainContainerComponent implements OnInit { url: streamUrl, }); } else { - this.streamUrl = streamUrl; if (this.selectedContentType !== ContentType.ITV) { this.dialog.open( PlayerDialogComponent,