From 3459baffdfdf53b9cea0b75ae72566d34a463853 Mon Sep 17 00:00:00 2001 From: Ersei Saggi Date: Tue, 12 Aug 2025 13:00:07 -0400 Subject: [PATCH] More Jellyfin 10.11 fixes --- SSO-Auth/Api/RequestHelpers.cs | 3 ++- SSO-Auth/Api/SSOController.cs | 5 +++-- SSO-Auth/Lib/Lib.fsproj | 2 +- SSO-Auth/SSO-Auth.csproj | 4 ++-- flake.lock | 6 +++--- flake.nix | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/SSO-Auth/Api/RequestHelpers.cs b/SSO-Auth/Api/RequestHelpers.cs index 90a898c..5a8fb95 100644 --- a/SSO-Auth/Api/RequestHelpers.cs +++ b/SSO-Auth/Api/RequestHelpers.cs @@ -9,7 +9,8 @@ using System; using System.Threading.Tasks; -using Jellyfin.Data.Enums; +using Jellyfin.Database.Implementations.Enums; +using Jellyfin.Data; using MediaBrowser.Controller.Net; using Microsoft.AspNetCore.Http; diff --git a/SSO-Auth/Api/SSOController.cs b/SSO-Auth/Api/SSOController.cs index 6c75007..26ad2ae 100644 --- a/SSO-Auth/Api/SSOController.cs +++ b/SSO-Auth/Api/SSOController.cs @@ -8,10 +8,11 @@ using System.Security.Cryptography; using System.Text.RegularExpressions; using System.Threading.Tasks; using Duende.IdentityModel.OidcClient; -using Jellyfin.Data.Entities; -using Jellyfin.Data.Enums; +using Jellyfin.Database.Implementations.Entities; +using Jellyfin.Database.Implementations.Enums; using Jellyfin.Plugin.SSO_Auth.Config; using Jellyfin.Plugin.SSO_Auth.Helpers; +using Jellyfin.Data; using MediaBrowser.Common.Api; using MediaBrowser.Controller.Authentication; using MediaBrowser.Controller.Configuration; diff --git a/SSO-Auth/Lib/Lib.fsproj b/SSO-Auth/Lib/Lib.fsproj index 54c5484..7333d47 100644 --- a/SSO-Auth/Lib/Lib.fsproj +++ b/SSO-Auth/Lib/Lib.fsproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 SSO_Auth true diff --git a/SSO-Auth/SSO-Auth.csproj b/SSO-Auth/SSO-Auth.csproj index c033aed..5c4f935 100644 --- a/SSO-Auth/SSO-Auth.csproj +++ b/SSO-Auth/SSO-Auth.csproj @@ -30,8 +30,8 @@ - - + + diff --git a/flake.lock b/flake.lock index 780301c..8487496 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1730768919, - "narHash": "sha256-8AKquNnnSaJRXZxc5YmF/WfmxiHX6MMZZasRP6RRQkE=", + "lastModified": 1754990257, + "narHash": "sha256-eEq2wlYNF2t89PsNyEv5Sz4lSxdukZCj4SdhZBVAGpI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a04d33c0c3f1a59a2c1cb0c6e34cd24500e5a1dc", + "rev": "372d9eeeafa5b15913201e2b92e8e539ac7c64d1", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 97647ce..80f448a 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,6 @@ let pkgs = nixpkgs.legacyPackages.x86_64-linux; in { devShell.x86_64-linux = - pkgs.mkShell { buildInputs = [ pkgs.nodePackages.prettier pkgs.dotnet-sdk_8 ]; }; + pkgs.mkShell { buildInputs = [ pkgs.nodePackages.prettier pkgs.dotnet-sdk_9 ]; }; }; }