chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
12.55k stars 945 forks source link

Question/Feature Suggestion #601

Open emannotava opened 1 year ago

emannotava commented 1 year ago

So I'm not entirely sure if it's possible already or not, but is it possible to add the language code to the output file name of whatever language the program has detected?

I've got to process almost a thousand files which contain a mix match of German/French/Japanese/English/Spanish/Russian dialogue, and it would be a massive help if the txt file that gets output includes the language code so I can sort those files along with the audio into separate folders based on language.

I know how to change the output name format, but I don't know what I need to add to it to make it include the language code.

If this is already a feature, sorry for making an issue on it but I had no other method of contacting and I could not find an faq.

If this isn't possible yet, then please view this issue as a feature request instead

raivisdejus commented 5 months ago

You can specify {{ language }} in the output filename, full list of supported variables is here https://chidiwilliams.github.io/buzz/docs/preferences This will add language code if it is set in settings when you run the transcription.

Ability to specify automatically detected language in the output file names will need to me implemented, it is currently not supported.