Skip to content

Commit

Permalink
Merge pull request #377 from jhj0517/fix/webvtt
Browse files Browse the repository at this point in the history
Fix webvtt format
  • Loading branch information
jhj0517 authored Nov 2, 2024
2 parents 50380bc + 4e33cb4 commit be000f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/utils/subtitle_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ def generate_file(
add_timestamp: bool = True, **kwargs
) -> Tuple[str, str]:
output_format = output_format.strip().lower().replace(".", "")
output_format = "vtt" if output_format == "webvtt" else output_format

if add_timestamp:
timestamp = datetime.now().strftime("%m%d%H%M%S")
Expand Down

0 comments on commit be000f4

Please sign in to comment.