mirror of
https://github.com/karl0ss/bazarr-ai-sub-generator.git
synced 2025-04-26 14:59:21 +01:00
Update cli.py
Bugfix - Multi video files handing
This commit is contained in:
parent
8a572fc3b3
commit
b862a64ffa
@ -82,10 +82,10 @@ 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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user