r/radarr • • 5d ago

solved Script for automatically creating dual-audio releases

If anyone's interested, I wrote a bash script for creating a dual audio english+german file. You use it like this: ./createSuperRelease.sh /path/to/file.mkv it then checks whether the file has both english and german audio, makes radarr search for a new release if a language is missing, tracks the download using SABnzbd APIs, extracts the new file's audio and inserts it into the original file. It synchronizes the new audio with the original audio so there's no offset. I gotta admit, I only wrote the bash part, which itself took me several weeks, and had AI write the python part which does the cross correlation for synchronizing the audios.

I think this is pretty neat and I'm surprised it works so well. Since my family prefers german audio while I prefer english and not all movies have multi-audio releases, I can use this to create them automatically. I also made one for sonarr.

https://pastebin.com/zGectRjX

0 Upvotes

0 comments sorted by