using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;
namespace MediaBrowser.Providers.Plugins.Tmdb.TV
{
///
/// External ID for a TMDB series.
///
public class TmdbSeriesExternalId : IExternalId
{
///
public string ProviderName => TmdbUtils.ProviderName;
///
public string Key => MetadataProvider.Tmdb.ToString();
///
public ExternalIdMediaType? Type => ExternalIdMediaType.Series;
///
public string? UrlFormatString => TmdbUtils.BaseTmdbUrl + "tv/{0}";
///
public bool Supports(IHasProviderIds item)
{
return item is Series;
}
}
}