ミラー元
https://github.com/karl0ss/bazarr-ai-sub-generator.git
前回の同期 2025-06-30 20:39:08 +01:00
Update cli.py
Bugfix - Multi video files handing
このコミットが含まれているのは:
コミット
b862a64ffa
@ -82,12 +82,12 @@ def get_audio(paths):
|
||||
|
||||
|
||||
def get_subtitles(audio_paths: list, output_srt: bool, output_dir: str, transcribe: callable):
|
||||
srt_path = output_dir if output_srt else tempfile.gettempdir()
|
||||
subtitles_path = {}
|
||||
|
||||
for path, audio_path in audio_paths.items():
|
||||
srt_path = output_dir if output_srt else tempfile.gettempdir()
|
||||
srt_path = os.path.join(srt_path, f"{filename(path)}.srt")
|
||||
|
||||
|
||||
print(
|
||||
f"Generating subtitles for {filename(path)}... This might take a while."
|
||||
)
|
||||
|
読み込み中…
x
新しいイシューから参照
ユーザーをブロックする