Skip to content

Commit 424481a

Browse files
committed
Jellyfin 10.11 compatibility
1 parent 773305c commit 424481a

File tree

7 files changed

+25
-23
lines changed

7 files changed

+25
-23
lines changed

.github/workflows/build-dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
fetch-depth: 0
2222
-
2323
name: Setup .NET Core
24-
uses: actions/setup-dotnet@v2
24+
uses: actions/setup-dotnet@v5
2525
with:
26-
dotnet-version: "8.0.x"
26+
dotnet-version: "9.0.x"
2727
-
2828
name: Build Jellyfin Plugin
29-
uses: oddstr13/jellyfin-plugin-repository-manager@v0.5.0
29+
uses: oddstr13/jellyfin-plugin-repository-manager@v1.1.1
3030
id: jprm
3131
with:
32-
dotnet-target: "net8.0"
32+
dotnet-target: "net9.0"
3333
-
3434
name: Upload Artifact
3535
uses: actions/upload-artifact@v3

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
fetch-depth: 0
1818
-
1919
name: Setup .NET Core
20-
uses: actions/setup-dotnet@v2
20+
uses: actions/setup-dotnet@v5
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 9.0.x
2323
-
2424
name: Build Jellyfin Plugin
25-
uses: oddstr13/jellyfin-plugin-repository-manager@v0.5.0
25+
uses: oddstr13/jellyfin-plugin-repository-manager@v1.1.1
2626
id: jprm
2727
with:
28-
dotnet-target: net8.0
28+
dotnet-target: net9.0
2929
-
3030
name: Prepare Release Checksums
3131
run: |-

Jellyfin.Webhooks/EntryPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Threading;
44
using System.Threading.Tasks;
5-
using Jellyfin.Data.Entities;
5+
using Jellyfin.Database.Implementations.Entities;
66
using Jellyfin.Webhooks.Configuration;
77
using Jellyfin.Webhooks.Dto;
88
using MediaBrowser.Controller;

Jellyfin.Webhooks/EventInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Jellyfin.Data.Entities;
1+
using Jellyfin.Database.Implementations.Entities;
22
using Jellyfin.Webhooks.Configuration;
33
using Jellyfin.Webhooks.Dto;
44
using MediaBrowser.Controller.Entities;

Jellyfin.Webhooks/Formats/PlexFormat.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using System.Text.Json;
44
using System.Threading.Tasks;
55
using Jellyfin.Webhooks.Configuration;
6+
using Jellyfin.Data;
7+
using Jellyfin.Database.Implementations.Enums;
68
using Jellyfin.Extensions.Json;
79
using MediaBrowser.Controller.Entities;
810
using MediaBrowser.Controller.Entities.Audio;
@@ -39,7 +41,7 @@ public async Task Format(Uri url, EventInfo info)
3941
};
4042
if (info.User != null)
4143
{
42-
body.owner = info.User.HasPermission(Data.Enums.PermissionKind.IsAdministrator);
44+
body.owner = info.User.HasPermission(PermissionKind.IsAdministrator);
4345
body.Account = new
4446
{
4547
id = info.User.Id,

Jellyfin.Webhooks/Jellyfin.Webhooks.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<RootNamespace>Jellyfin.Webhooks</RootNamespace>
6-
<AssemblyVersion>3.8.0.0</AssemblyVersion>
7-
<FileVersion>3.8.0.0</FileVersion>
6+
<AssemblyVersion>3.9.0.0</AssemblyVersion>
7+
<FileVersion>3.9.0.0</FileVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Jellyfin.Controller" Version="10.10.3" />
12-
<PackageReference Include="Jellyfin.Data" Version="10.10.3" />
13-
<PackageReference Include="Jellyfin.Model" Version="10.10.3" />
14-
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
15-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
11+
<PackageReference Include="Jellyfin.Controller" Version="10.*-*" />
12+
<PackageReference Include="Jellyfin.Data" Version="10.*-*" />
13+
<PackageReference Include="Jellyfin.Model" Version="10.*-*" />
14+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.10" />
15+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.10" />
1616
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1717
</ItemGroup>
1818

build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: "Webhooks"
33
guid: "eb5d7894-8eef-4b36-aa6f-5d124e828ce1"
4-
version: "3.8.0.0"
5-
targetAbi: "10.10.3.0"
6-
framework: "net8.0"
4+
version: "3.9.0.0"
5+
targetAbi: "10.11.0.0"
6+
framework: "net9.0"
77
overview: "Webhooks. Flexible and robust"
88
description: >
99
Supports couple of webhook types including Plex one.
@@ -12,4 +12,4 @@ owner: "shemanaev"
1212
artifacts:
1313
- "Jellyfin.Webhooks.dll"
1414
changelog: >
15-
Jellyfin 10.10 compatibility
15+
Jellyfin 10.11 compatibility

0 commit comments

Comments
 (0)