26 lines
707 B
C#
26 lines
707 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 KinopoiskExternalId : IExternalId
|
|
{
|
|
public string ProviderName => Constants.ProviderName;
|
|
|
|
public string Key => Constants.ProviderId;
|
|
|
|
public string UrlFormatString => null;
|
|
|
|
public ExternalIdMediaType? Type => null;
|
|
|
|
public bool Supports(IHasProviderIds item)
|
|
{
|
|
return item is Movie || item is Series || item is Person;
|
|
}
|
|
}
|
|
}
|