This commit is contained in:
Cody Robibero 2024-05-11 13:26:56 -06:00 committed by GitHub
parent ba0bc5f1e0
commit f2a416c06e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>

View File

@ -5,6 +5,7 @@ using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Jellyfin.Data.Enums;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.TV;
@ -196,7 +197,7 @@ namespace Jellyfin.Plugin.TvMaze.Providers
personInfo.SetProviderId(TvMazePlugin.ProviderId, castMember.Person.Id.ToString(CultureInfo.InvariantCulture));
personInfo.Name = castMember.Person.Name;
personInfo.Role = castMember.Character.Name;
personInfo.Type = PersonType.Actor;
personInfo.Type = PersonKind.Actor;
personInfo.ImageUrl = castMember.Person.Image?.Original
?? castMember.Person.Image?.Medium;

View File

@ -2,8 +2,8 @@ name: "TVmaze"
guid: "A4A488D0-17A3-4919-8D82-7F3DE4F6B209"
imageUrl: "https://repo.jellyfin.org/releases/plugin/images/jellyfin-plugin-tvmaze.png"
version: "11"
targetAbi: "10.8.0.0"
framework: "net6.0"
targetAbi: "10.9.0.0"
framework: "net8.0"
owner: "jellyfin"
overview: "Get TV metadata from TVmaze"
description: >