fix(xtream): display epg when live tv channel is selected

set this.streamUrl so that child live-stream-layout displays the epg
This commit is contained in:
Martin Ponce committed 2024-09-27 22:28:06 +08:00
1 parent 9427250dae
commit 5807984519
1 file changed
+1 -1
@@ -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, PlayerDialogData>(
PlayerDialogComponent,