28 lines
752 B
C#
28 lines
752 B
C#
using MediaBrowser.Controller.Entities;
|
|
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.Kinopoisk.Model
|
|
{
|
|
public class KinopoiskPersonExternalId : IExternalId
|
|
{
|
|
public string ProviderName => Utils.ProviderName;
|
|
|
|
public string Name => Utils.ProviderName;
|
|
|
|
public string Key => Utils.ProviderId;
|
|
|
|
public string UrlFormatString => "https://www.kinopoisk.ru/name/{0}";
|
|
|
|
public ExternalIdMediaType? Type => null;
|
|
|
|
public bool Supports(IHasProviderIds item)
|
|
{
|
|
return item is Person;
|
|
}
|
|
}
|
|
}
|