allow opus
This commit is contained in:
@@ -14,6 +14,7 @@ song_file_extensions = set([
|
||||
"m4a",
|
||||
"webm",
|
||||
"flac", # stable-ts likely uses ffmpeg to convert this for whisper
|
||||
"opus",
|
||||
])
|
||||
|
||||
@click.command()
|
||||
@@ -74,7 +75,6 @@ def srt_to_lrc(srt_text: str) -> str:
|
||||
lines.append(f"[{timedelta_to_hhmmssss(end_time)}]")
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user