Include script(s) for the Sonarr/Radarr 'Connect' page to trigger subtitle search/download
Both Sonarr/Radarr have this 'Connect' tab in the settings where you can specify postprocessing triggers for various other programs when a new episode/movie is downloaded/upgraded/renamed/removed. e.g.
It would be great if Bazarr came included with script(s) for both Sonarr/Radarr to be added on this tab so that when a new episode/movie is downloaded, instead of Bazarr waiting until a scheduled interval occurs, these scripts would tell Bazarr to go out and search/download the subtitles immediately after the download, much like SubZero functions in Plex.
The information about the episode/movie is passed through environment variables.
For Sonarr the info can be found here:
https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts
For Radarr the info can be found here:
https://github.com/Radarr/Radarr/wiki/Custom-Post-Processing-Scripts
Comments: 6
-
27 Jul, '20
PotatoQualityoh Yes pleasseeee!!!!
-
11 Aug, '20
morpheus65535 AdminBazarr is already searching for newly added episodes/movies. There's no need for that.
-
17 Sep, '20
CrapFaceit does, but it does so only after the interval for episodes/movies cycles. Which means if I want to watch it straight after it downloads, I've got to go and search myself...which kinda negates the whole point of using Bazarr
-
17 Sep, '20
morpheus65535 Admin@CrapFace nope, if there's 5 or less new items are added to Bazarr after a sync with Sonarr or Radarr, subtitles will be searched as soon as they are added.
-
01 Jun, '21
mueslimakerI see this is marked as 'won't happen'. I think this decision, and the wording of the OP misses a key feature of the 'connect' functionality in sonarr/raddarr. Being able to set up postprocessing hooks is extremely useful for telling my media library software (jellyfin/plex/emby) to rescan the library. Depending on the nuances of one's system, features built into the media library software like continuous file system monitoring might not work/may be undesirable. So either something has to use an API to trigger the refresh or it just waits for schedules scans. But with 'connect' I can just call a script that inerfaces with the Jellyfin API. I think this is a key feature of Sonarr/Radarr that Bazarr is missing. Even if you don't support all the built in options that they do, just a custom script with triggers like 'on subtitle download' and 'on subtitle update/delete' would be perfect.
-
04 Jun, '21
broodlum@mueslimaker What you're talking about is another feature. OP is merely talking about Bazarr being able to receive a request to trigger a download, not a "Connect" feature for Bazarr to send requests upon completed actions. You should create a new feature request for your idea though.