mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
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:
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,
|
||||
|
||||
Reference in new issue
Block a user