WIP: Upgrade to .NET 8.0 and improve build scripts
- Upgraded all projects from .NET 6.0 to .NET 8.0. - Updated GitHub Actions workflow to use .NET 8.0. - Changed `publish.sh` script to check for `gsed` command, update version to 10.9.0.0, and use dotnet@8. - Adjusted target ABI in various configurations and manifests to match the new version. - Replaced `PersonType` with `PersonKind` in `ApiModelExtensions.cs` and adjusted profession mapping accordingly. - Updated package references across all projects to be compatible with .NET 8.0. - Modified `KinopoiskPluginServiceRegistrator` to match updated interface with `IServerApplicationHost`. - General cleanup and consistency improvements in project files and build configurations.
This commit is contained in:
9 files changed
+50
-43
No files matched your search
@@ -1,7 +1,8 @@
|
||||
using System.Net.Http;
|
||||
using Jellyfin.Plugin.Kinopoisk.ProviderIdResolvers;
|
||||
using KinopoiskUnofficialInfo.ApiClient;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Controller.Plugins;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
@@ -15,7 +16,7 @@ namespace Jellyfin.Plugin.Kinopoisk
|
||||
/// </summary>
|
||||
public class KinopoiskPluginServiceRegistrator : IPluginServiceRegistrator
|
||||
{
|
||||
public void RegisterServices(IServiceCollection serviceCollection)
|
||||
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
|
||||
{
|
||||
serviceCollection.AddSingleton((sp) => new KinopoiskApiClient(
|
||||
Plugin.Instance.Configuration.ApiToken,
|
||||
|
||||
Reference in new issue
Block a user