fix(arr): give the reconcile loop its translators

#196 built SubtitleAction with an empty backend list, correctly: no
translation backend existed when it was written. #216 then built
translation_backends() and wired it into AppState, so the API can translate.
Merged, the reconcile loop still got Vec::new() and its translate step
reported "no engine" in every real deployment.

Neither branch was wrong alone; the gap only exists once both are in.
This commit is contained in:
Miguel Palhas
2026-08-25 02:21:21 +01:00
parent 4110555183
commit 7b4cff1874
+1 -1
View File
@@ -492,7 +492,7 @@ fn subtitle_action(config: &Config, notifier: &Notifier) -> Result<SubtitleActio
config.opensubtitles_username.clone(),
config.opensubtitles_password.clone(),
),
Vec::new(),
translation_backends(config),
arr_subs::Syncer::new().with_binary(config.alass_path.clone()),
arr_probe::Extractor::new().with_binary(config.ffmpeg_path.clone()),
jellyfin_client(config)?,