mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 13:16:16 -08:00
refactor(player): remove unused player path args
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user