Skip to content

Instantly share code, notes, and snippets.

@goose-ws
Last active August 29, 2024 20:30
Show Gist options
  • Save goose-ws/fb5ba309081b03f77ff39127f7bc563f to your computer and use it in GitHub Desktop.
Save goose-ws/fb5ba309081b03f77ff39127f7bc563f to your computer and use it in GitHub Desktop.
Script to fix TBA titled episodes in Sonarr
This script has been rewritten and improved, and is now located in my `bash scripts` repository: https://github.com/goose-ws/bash-scripts
More specifically, here is the script: https://github.com/goose-ws/bash-scripts/blob/main/sonarr-update-tba.bash
And here is the corresponding `.env` file you need to put in the same directory as the script: https://github.com/goose-ws/bash-scripts/blob/main/sonarr-update-tba.env.example
@Egrirt
Copy link

Egrirt commented May 23, 2024

Yep it should work now

@SlingerAJ
Copy link

It works - YOU BEAUTY!

Thanks for all the support, so what did we just do, install python3 in the container so python based plugins can work? I wonder why this isn't installed as standard if it's a dependency for some of the plugins.

For some reason Unmanic (since the first re-start) has now found 1500 files to transcode, most of which are failing (output file larger than the input file). The only prior change was to set the minimum file size to 300M (it was 500M). Might change it back as small x264 files don't seem to benefit from transcoding in terms of size reduction.

Thanks so much, wouldn't have figured this out myself in a month of Sundays and didn't find anything when i googled the problem for the plugin/unmanic.

@Egrirt
Copy link

Egrirt commented May 23, 2024

We just installed the missing modules needed by the Sonarr and Radarr plugins. Python3 already comes installed by default, but the modules were missing. By keeping the startup script there it will always reinstall them even if you rebuild the container. Enjoy

@SlingerAJ
Copy link

Brilliant, thanks again!

@SlingerAJ
Copy link

Been watching it for a day now, it's very cool to see it all working properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment