refactor(player): remove unused player path args

This commit is contained in:
4gray committed 2025-11-08 23:02:15 +01:00
1 parent fbed100fb0
commit 588664c3aa
6 files changed
-16

No files matched your search

@@ -62,7 +62,6 @@ export class ElectronService extends DataService {
try {
return await window.electron.openInMpv(
data.url,
data.mpvPlayerPath || '',
data.title ?? '',
data['user-agent'] ?? undefined,
data.referer ?? undefined,
@@ -81,7 +80,6 @@ export class ElectronService extends DataService {
try {
return await window.electron.openInVlc(
data.url,
data.vlcPlayerPath || '',
data.title ?? '',
data['user-agent'] ?? undefined,
data.referer ?? undefined,
@@ -39,7 +39,6 @@ export class PlayerService {
}
this.dataService.sendIpcEvent(OPEN_MPV_PLAYER, {
url: streamUrl,
mpvPlayerPath: this.settingsStore.mpvPlayerPath(),
title,
thumbnail,
'user-agent': userAgent,
@@ -52,7 +51,6 @@ export class PlayerService {
}
this.dataService.sendIpcEvent(OPEN_VLC_PLAYER, {
url: streamUrl,
vlcPlayerPath: this.settingsStore.vlcPlayerPath(),
title,
thumbnail,
'user-agent': userAgent,