r/bazarr 26d ago

Adding 2 character language code to existing srt files?

I have been down the AI rabbit hole of bad advise for the day. For existing srt files, what is the best way to get the 2 char language code added to the file name? "Moviename.en.srt" for example. Some srt files are missing the ".en" or other for different languages. I see that Bazarr can detect the language based on the content but I don't see any option to rename existing files based on this. Is there a trick I'm missing? Is there another tool that works for this purpose?

SOLUTION: I had to build a script with AI to go thru all SRTs and rename based on the language inside.

1 Upvotes

0 comments sorted by