Skip to content

Commit 6a42f7c

Browse files
authored
Merge pull request #436 from martymcflywa/fix/custom-player-epg
fix(xtream): display epg when live tv channel is selected
2 parents 2b2b315 + 5807984 commit 6a42f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/xtream/xtream-main-container.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ export class XtreamMainContainerComponent implements OnInit {
349349
}
350350

351351
openPlayer(streamUrl: string, title: string) {
352+
this.streamUrl = streamUrl;
352353
this.player = this.settings()?.player ?? VideoPlayer.VideoJs;
353354
if (this.player === VideoPlayer.MPV) {
354355
if (!this.hideExternalInfoDialog())
@@ -363,7 +364,6 @@ export class XtreamMainContainerComponent implements OnInit {
363364
url: streamUrl,
364365
});
365366
} else {
366-
this.streamUrl = streamUrl;
367367
if (this.selectedContentType !== ContentType.ITV) {
368368
this.dialog.open<PlayerDialogComponent, PlayerDialogData>(
369369
PlayerDialogComponent,

0 commit comments

Comments
 (0)