mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-04-10 04:19:25 -07:00
fix: stabilize local subtitle startup and pause release
This commit is contained in:
@@ -24,9 +24,15 @@ export type PlaylistBrowserIpcRuntime = {
|
||||
|
||||
export function createPlaylistBrowserIpcRuntime(
|
||||
getMpvClient: PlaylistBrowserRuntimeDeps['getMpvClient'],
|
||||
options?: Pick<
|
||||
PlaylistBrowserRuntimeDeps,
|
||||
'getPrimarySubtitleLanguages' | 'getSecondarySubtitleLanguages'
|
||||
>,
|
||||
): PlaylistBrowserIpcRuntime {
|
||||
const playlistBrowserRuntimeDeps: PlaylistBrowserRuntimeDeps = {
|
||||
getMpvClient,
|
||||
getPrimarySubtitleLanguages: options?.getPrimarySubtitleLanguages,
|
||||
getSecondarySubtitleLanguages: options?.getSecondarySubtitleLanguages,
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user