Downgrade plugin to .NET 9 to support Jellyfin 10.11

This commit is contained in:
2026-09-17 15:10:01 +02:00
parent 16493b0735
commit b46e5e1786
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -17,14 +17,14 @@ jobs:
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: '10.0.x' dotnet-version: '9.0.x'
- name: Build Plugin - name: Build Plugin
run: dotnet build JellyfinPlugin/JellyfinPlugin.csproj -c Release run: dotnet build JellyfinPlugin/JellyfinPlugin.csproj -c Release
- name: Create ZIP Archive - name: Create ZIP Archive
run: | run: |
cd JellyfinPlugin/bin/Release/net10.0/ cd JellyfinPlugin/bin/Release/net9.0/
zip -j ../../../../BlackBarRemover_${{ github.ref_name }}.zip * zip -j ../../../../BlackBarRemover_${{ github.ref_name }}.zip *
- name: Generate Checksum - name: Generate Checksum
+3 -3
View File
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net10.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
@@ -10,8 +10,8 @@
<ItemGroup> <ItemGroup>
<!-- Zależności Jellyfin --> <!-- Zależności Jellyfin -->
<PackageReference Include="Jellyfin.Controller" Version="12.0.0" /> <PackageReference Include="Jellyfin.Controller" Version="10.11.2" />
<PackageReference Include="Jellyfin.Model" Version="12.0.0" /> <PackageReference Include="Jellyfin.Model" Version="10.11.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
+2 -2
View File
@@ -37,11 +37,11 @@ A Jellyfin plugin that automatically detects and removes black bars (letterboxin
### Method 3: Building from Source ### Method 3: Building from Source
1. Clone this repository. 1. Clone this repository.
2. Build the plugin using the .NET 10 SDK: 2. Build the plugin using the .NET 9 SDK:
```bash ```bash
dotnet build JellyfinPlugin/JellyfinPlugin.csproj -c Release dotnet build JellyfinPlugin/JellyfinPlugin.csproj -c Release
``` ```
3. Copy the compiled DLLs from `JellyfinPlugin/bin/Release/net10.0/` into a new folder named `BlackBarRemover` inside your Jellyfin plugins directory (e.g., `/var/lib/jellyfin/plugins/BlackBarRemover/`). 3. Copy the compiled DLLs from `JellyfinPlugin/bin/Release/net9.0/` into a new folder named `BlackBarRemover` inside your Jellyfin plugins directory.
4. Restart the Jellyfin server. 4. Restart the Jellyfin server.
### Configuration & Initial Scan ### Configuration & Initial Scan