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:
@@ -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)?,
|
||||
|
||||
Reference in New Issue
Block a user