docs(arr): correct the subtitle lane's comment

Said translation backends are passed empty; #216 wired them and #219 made
both callers share one set.
This commit is contained in:
Miguel Palhas
2026-08-25 04:55:06 +01:00
parent 78aabe99e5
commit e0e7ddf6de
+6 -4
View File
@@ -525,10 +525,12 @@ fn jellyfin_client(config: &Config) -> Result<arr_api::jellyfin::JellyfinClient,
/// The §15 reconcile lane: closes subtitle gaps from the attempt rows.
///
/// Translation backends are passed empty: none is constructed at startup yet
/// the compiled-in backends (#191#193) still need their bootstrap wiring
/// (model names, base URLs) — so the translate step records "not compiled"
/// and backs off rather than failing obscurely.
/// Takes the same [`Translators`] the API is given, built once at startup, so
/// a translation behaves identically whether the reconcile sweep or the manual
/// endpoint asked for it. Which of the offered backends actually runs is the
/// `translation_engine` database setting, read per translation; with none
/// compiled in the translate step records "not compiled" and backs off rather
/// than failing obscurely.
fn subtitle_action(
config: &Config,
notifier: &Notifier,