29 lines
805 B
C#
29 lines
805 B
C#
// <copyright file="ImdbPersonExternalId.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Providers;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Providers;
|
|
|
|
namespace MediaBrowser.Providers.Movies
|
|
{
|
|
public class ImdbPersonExternalId : IExternalId
|
|
{
|
|
/// <inheritdoc />
|
|
public string ProviderName => "IMDb";
|
|
|
|
/// <inheritdoc />
|
|
public string Key => MetadataProvider.Imdb.ToString();
|
|
|
|
/// <inheritdoc />
|
|
public ExternalIdMediaType? Type => ExternalIdMediaType.Person;
|
|
|
|
/// <inheritdoc />
|
|
public bool Supports(IHasProviderIds item) => item is Person;
|
|
}
|
|
}
|