fix(xtream): vlc player for series

This commit is contained in:
4gray committed 2023-11-22 21:38:07 +01:00
1 parent d007d303aa
commit 07858ddf94
1 file changed
+2
@@ -313,6 +313,8 @@ export class XtreamMainContainerComponent implements OnInit {
const streamUrl = `${serverUrl}/series/${username}/${password}/${episode.id}.${episode.container_extension}`;
if (player === VideoPlayer.MPV) {
this.dataService.sendIpcEvent(OPEN_MPV_PLAYER, { url: streamUrl });
} else if (player === VideoPlayer.VLC) {
this.dataService.sendIpcEvent(OPEN_VLC_PLAYER, { url: streamUrl });
} else {
this.dialog.open(PlayerDialogComponent, {
data: { streamUrl, player, title: episode.title },