-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notify Sonarr / Radarr & Trigger Update #149
Comments
Yes SMA is open source. MIT License |
It's worth noting that we could bypass this altogether by adding an 'append string' option to the conversion plugins. It would probably have to some regex for both 'find/replace' and 'append' features which you can run in sequence - as that would cover all bases including changing files which already have the codec in the filename. As this changes the filename, Radarr/Sonarr would re-analyze the file in their maintenance which bypasses the need to update them. I'm fairly ambivalent about the final solution to be honest, the primary aim is to ensure Radarr/Sonarr "know" that the file has been converted to another codec and avoid loops in people's workflow. |
This means you are waiting up to 23 hours before Sonarr and Radarr notice the files have changed and I don't believe there is an automatic trigger to rename either which is a problem when you want the filename to reflect the codecs (video & audio) used and subtitles in the video file. It is a better solution to me to trigger an update and rename via the APIs. |
This issue has been addressed upstream! Sonarr: Sonarr/Sonarr@f26540c Radarr: Radarr/Radarr@c538424 |
A common problem and point of discussion is Sonarr/Radarr not realising that Unmanic has processed a file and converted it to another codec. If you rely on codecs for your profiles (as in, update the file until it's x265 or something similar), this can lead to issues where a new file is acquired.
SMA solves this by forcing Sonarr/Radarr to update via API. I believe SMA is open source so you can likely look at the code. SMA config includes this;
Creating a plugin to notify the *ARR's and force a rename/rescan would be fantastic. We may need a way to specify which folder(s) apply to which service so the plugin knows which to notify - but it would resolve needing to rename or do other workarounds within Unmanic itself.
The text was updated successfully, but these errors were encountered: