26 lines
798 B
C#
26 lines
798 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Providers;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Providers;
|
|
|
|
namespace Jellyfin.Plugin.MetaShark.Providers.ExternalId
|
|
{
|
|
/// <inheritdoc />
|
|
public class DoubanPersonExternalId : IExternalId
|
|
{
|
|
/// <inheritdoc />
|
|
public string ProviderName => BaseProvider.DoubanProviderName;
|
|
|
|
/// <inheritdoc />
|
|
public string Key => BaseProvider.DoubanProviderId;
|
|
|
|
/// <inheritdoc />
|
|
public ExternalIdMediaType? Type => ExternalIdMediaType.Person;
|
|
|
|
/// <inheritdoc />
|
|
public string UrlFormatString => "https://movie.douban.com/celebrity/{0}/";
|
|
|
|
/// <inheritdoc />
|
|
public bool Supports(IHasProviderIds item) => item is Person;
|
|
}
|
|
} |