From b37ff1af13dfc3bddc8b7625e8aaa188963d326e Mon Sep 17 00:00:00 2001 From: 4gray <4gray@users.noreply.github.com> Date: Sun, 29 Oct 2023 12:55:41 +0100 Subject: [PATCH] fix: vlc player support --- .../video-player/video-player.component.html | 17 ++++++++++++++++- .../video-player/video-player.component.scss | 7 ++++++- src/app/state/effects.ts | 10 +++++++++- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/app/player/components/video-player/video-player.component.html b/src/app/player/components/video-player/video-player.component.html index 997df7de7..965c49074 100644 --- a/src/app/player/components/video-player/video-player.component.html +++ b/src/app/player/components/video-player/video-player.component.html @@ -50,7 +50,10 @@ [channel]="activeChannel" [showCaptions]="playerSettings.showCaptions" /> -
+

The channel is played in a separate window in the MPV @@ -66,6 +69,18 @@ >)

+
+ +

+ The channel is played in a separate window in VLC + player. Please make sure that this player is installed + in your system and the correct path is defined in the + app settings. +

+
0 && settings.player === VideoPlayer.MPV && channel.radio !== 'true' - ) + ) { this.dataService.sendIpcEvent(OPEN_MPV_PLAYER, { url: channel.url, }); + } else if ( + settings && + Object.keys(settings).length > 0 && + settings.player === VideoPlayer.VLC + ) + this.dataService.sendIpcEvent(OPEN_VLC_PLAYER, { + url: channel.url, + }); } );