10.6 compat

This commit is contained in:
crobibero 2020-07-19 15:41:49 -06:00
parent 5aba3fab14
commit 3edc714fb0

View File

@ -2,20 +2,24 @@ using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;
namespace Jellyfin.Plugin.Anime.Providers.KitsuIO
{
public class KitsuIoExternalId : IExternalId
{
public bool Supports(IHasProviderIds item)
=> item is MediaBrowser.Controller.Entities.TV.Series || item is Movie;
=> item is Series || item is Movie;
public string Name
public string ProviderName
=> "KitsuIO";
public string Key
=> ProviderNames.KitsuIo;
public ExternalIdMediaType? Type
=> ExternalIdMediaType.Series;
public string UrlFormatString
=> "https://kitsu.io/anime/{0}";
}