Merge pull request #436 from martymcflywa/fix/custom-player-epg

fix(xtream): display epg when live tv channel is selected
This commit is contained in:
4gray authored and GitHub committed 2024-10-02 20:34:02 +02:00
commit 6a42f7c70e
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,