fix: vlc player support

This commit is contained in:
4gray committed 2023-10-29 12:55:41 +01:00
1 parent 1350698e1a
commit b37ff1af13
3 files changed
+31 -3

No files matched your search

+9 -1
View File
@@ -129,10 +129,18 @@ export class PlaylistEffects {
Object.keys(settings).length > 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,
});
}
);