mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
fixed fanart reference
This commit is contained in:
parent
aef805efb9
commit
7767580a3b
|
@ -104,7 +104,7 @@ namespace MediaBrowser.Providers.Movies
|
||||||
Url = string.Format(UpdatesUrl, FanartArtistProvider.ApiKey, lastUpdateTime),
|
Url = string.Format(UpdatesUrl, FanartArtistProvider.ApiKey, lastUpdateTime),
|
||||||
CancellationToken = cancellationToken,
|
CancellationToken = cancellationToken,
|
||||||
EnableHttpCompression = true,
|
EnableHttpCompression = true,
|
||||||
ResourcePool = FanartArtistProvider.FanArtResourcePool
|
ResourcePool = FanartArtistProvider.Current.FanArtResourcePool
|
||||||
|
|
||||||
}).ConfigureAwait(false))
|
}).ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,29 +52,6 @@ namespace MediaBrowser.Providers.Movies
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RottenTomatoesExternalId : IExternalId
|
|
||||||
{
|
|
||||||
public string Name
|
|
||||||
{
|
|
||||||
get { return "Rotten Tomatoes"; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Key
|
|
||||||
{
|
|
||||||
get { return MetadataProviders.RottenTomatoes.ToString(); }
|
|
||||||
}
|
|
||||||
|
|
||||||
public string UrlFormatString
|
|
||||||
{
|
|
||||||
get { return null; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Supports(IHasProviderIds item)
|
|
||||||
{
|
|
||||||
return item is Movie || item is Trailer || item is MusicVideo;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public class MovieDbMovieCollectionExternalId : IExternalId
|
public class MovieDbMovieCollectionExternalId : IExternalId
|
||||||
{
|
{
|
||||||
public string Name
|
public string Name
|
||||||
|
|
Loading…
Reference in a new issue