@ -69,7 +69,7 @@ namespace MediaBrowser.Controller.Providers.TV
try
{
using ( var xml = await HttpClient . Get ( url , FanArt MovieProvider. Current . FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) )
using ( var xml = await HttpClient . Get ( url , FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) )
{
doc . Load ( xml ) ;
}
@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.Providers.TV
Logger . Debug ( "FanArtProvider getting ClearLogo for " + series . Name ) ;
try
{
series . SetImage ( ImageType . Logo , await _providerManager . DownloadAndSaveImage ( series , path , LOGO_FILE , FanArt MovieProvider. Current . FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
series . SetImage ( ImageType . Logo , await _providerManager . DownloadAndSaveImage ( series , path , LOGO_FILE , FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
}
catch ( HttpException )
{
@ -117,7 +117,7 @@ namespace MediaBrowser.Controller.Providers.TV
Logger . Debug ( "FanArtProvider getting ClearArt for " + series . Name ) ;
try
{
series . SetImage ( ImageType . Art , await _providerManager . DownloadAndSaveImage ( series , path , ART_FILE , FanArt MovieProvider. Current . FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
series . SetImage ( ImageType . Art , await _providerManager . DownloadAndSaveImage ( series , path , ART_FILE , FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
}
catch ( HttpException )
{
@ -141,7 +141,7 @@ namespace MediaBrowser.Controller.Providers.TV
Logger . Debug ( "FanArtProvider getting ThumbArt for " + series . Name ) ;
try
{
series . SetImage ( ImageType . Disc , await _providerManager . DownloadAndSaveImage ( series , path , THUMB_FILE , FanArt MovieProvider. Current . FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
series . SetImage ( ImageType . Disc , await _providerManager . DownloadAndSaveImage ( series , path , THUMB_FILE , FanArt ResourcePool, cancellationToken ) . ConfigureAwait ( false ) ) ;
}
catch ( HttpException )
{