Downgrade plugin to .NET 9 to support Jellyfin 10.11
This commit is contained in:
@@ -17,14 +17,14 @@ jobs:
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '10.0.x'
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
- name: Build Plugin
|
||||
run: dotnet build JellyfinPlugin/JellyfinPlugin.csproj -c Release
|
||||
|
||||
- name: Create ZIP Archive
|
||||
run: |
|
||||
cd JellyfinPlugin/bin/Release/net10.0/
|
||||
cd JellyfinPlugin/bin/Release/net9.0/
|
||||
zip -j ../../../../BlackBarRemover_${{ github.ref_name }}.zip *
|
||||
|
||||
- name: Generate Checksum
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Zależności Jellyfin -->
|
||||
<PackageReference Include="Jellyfin.Controller" Version="12.0.0" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="12.0.0" />
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.11.2" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.11.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -37,11 +37,11 @@ A Jellyfin plugin that automatically detects and removes black bars (letterboxin
|
||||
### Method 3: Building from Source
|
||||
|
||||
1. Clone this repository.
|
||||
2. Build the plugin using the .NET 10 SDK:
|
||||
2. Build the plugin using the .NET 9 SDK:
|
||||
```bash
|
||||
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.
|
||||
|
||||
### Configuration & Initial Scan
|
||||
|
||||
Reference in New Issue
Block a user