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 c6cfdff2c9
commit 910d28f639
7 changed files with 47 additions and 12 deletions
Generated
+1
View File
@@ -49,6 +49,7 @@ dependencies = [
"serde_json",
"sqlx",
"tempfile",
"thiserror",
"tokio",
"tracing",
"utoipa",