From 252373f956fea462375099306404dbf2642ac1fd Mon Sep 17 00:00:00 2001 From: soraefir Date: Thu, 14 May 2026 14:46:55 +0200 Subject: [PATCH] Fix --- modules/server/containers/apps/jellyfin.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/server/containers/apps/jellyfin.nix b/modules/server/containers/apps/jellyfin.nix index 973f44c..d5815b5 100644 --- a/modules/server/containers/apps/jellyfin.nix +++ b/modules/server/containers/apps/jellyfin.nix @@ -133,7 +133,6 @@ in { -H "Content-Type: application/json" \ -H "Authorization: MediaBrowser Client=\"Bash Script\", Device=\"Server Terminal\", DeviceId=\"script-12345\", Version=\"1.0.0\"" \ -d "{\"Username\": \"$DEFAULT_ADMIN_USERNAME\", \"Pw\": \"$DEFAULT_ADMIN_PASSWORD\"}" \ - | ${pkgs.jq}/bin/jq -r '.AccessToken') # Verify we got a token @@ -144,7 +143,7 @@ in { if ! ${pkgs.curl}/bin/curl -sSf -X POST "$JELLYFIN_URL/Packages/Installed/LDAP%20Authentication?assemblyGuid=958aad6637844d2ab89aa7b6fab6e25c" \ -H "Authorization: MediaBrowser Token=\"$JELLYFIN_TOKEN\"" \ - -H "Content-Length: 0" + -H "Content-Length: 0"; then echo "ERROR: LDAP Plugin Setup Failed." exit 1 fi