blob: a4f8f8a193740785e0b24f444de6eeabcfe6686d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Providers.Tmdb.BoxSets
{
public class TmdbBoxSetExternalId : IExternalId
{
public string Name => TmdbUtils.ProviderName;
public string Key => MetadataProviders.TmdbCollection.ToString();
public string UrlFormatString => TmdbUtils.BaseTmdbUrl + "collection/{0}";
public bool Supports(IHasProviderIds item)
{
return item is Movie || item is MusicVideo || item is Trailer;
}
}
}
|