fix(jimaku): keep the series name for stream titles containing slashes (#337)

This commit is contained in:
sudacode authored and GitHub committed 2026-11-22 23:59:19 -08:00
1 parent 71251b8d7b
commit 78809094d2
8 files changed
+118 -23

No files matched your search

+2 -2
View File
@@ -71,7 +71,7 @@ import type {
SubtitlePosition,
} from './types';
import { OPEN_ANKI_CARD_ACTION_ID } from './types';
import { downloadToFile, isRemoteMediaPath, parseMediaInfo } from './jimaku/utils';
import { downloadToFile, isRemoteMediaPath, parseMediaLookupInfo } from './jimaku/utils';
import {
createLogger,
setLogFileToggles,
@@ -1590,7 +1590,7 @@ const { registerIpcRuntimeHandlers } = composeIpcRuntimeHandlers({
setFieldGroupingResolver: (resolver: ((choice: KikuFieldGroupingChoice) => void) | null) =>
mining.setFieldGroupingResolver(resolver),
parseMediaInfo: (mediaPath: string | null) =>
parseMediaInfo(mediaRuntime.resolveMediaPathForJimaku(mediaPath)),
parseMediaLookupInfo(mediaPath, appState.currentMediaTitle),
getCurrentMediaPath: () => appState.currentMediaPath,
jimakuFetchJson: <T>(
endpoint: string,