refactor(arr): give arr-api its own jellyfin client

arr-daemon depends on arr-api, so a handler in arr-api can never
reach the daemon's private JellyfinClient. Move it into arr-api and
attach an instance to AppState, so a manual subtitle write can ask
for the same refresh import already does (#195).
This commit is contained in:
Miguel Palhas
2026-08-25 01:31:54 +01:00
parent 8c3e1c4a92
commit c64c572781
7 changed files with 48 additions and 12 deletions
Generated
+1
View File
@@ -42,6 +42,7 @@ dependencies = [
"serde_json",
"sqlx",
"tempfile",
"thiserror",
"tokio",
"tracing",
"utoipa",