mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-23 00:11:28 -07:00
12 lines
405 B
TypeScript
12 lines
405 B
TypeScript
export async function retimeYoutubeSubtitle(input: {
|
|
primaryPath: string;
|
|
secondaryPath: string | null;
|
|
}): Promise<{ ok: boolean; path: string; strategy: 'none' | 'alass' | 'ffsubsync'; message: string }> {
|
|
return {
|
|
ok: true,
|
|
path: input.primaryPath,
|
|
strategy: 'none',
|
|
message: `Using downloaded subtitle as-is${input.secondaryPath ? ' (no automatic retime enabled)' : ''}`,
|
|
};
|
|
}
|