|
|
@ -15,6 +15,7 @@ using System.Collections.Generic;
|
|
|
|
using System.Globalization;
|
|
|
|
using System.Globalization;
|
|
|
|
using System.IO;
|
|
|
|
using System.IO;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using CommonIO;
|
|
|
|
using CommonIO;
|
|
|
@ -160,6 +161,7 @@ namespace MediaBrowser.Providers.TV
|
|
|
|
PopulateImages(list, obj.showbackground, ImageType.Backdrop, 1920, 1080, seasonNumber);
|
|
|
|
PopulateImages(list, obj.showbackground, ImageType.Backdrop, 1920, 1080, seasonNumber);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Regex _regex_http = new Regex("^http://");
|
|
|
|
private void PopulateImages(List<RemoteImageInfo> list,
|
|
|
|
private void PopulateImages(List<RemoteImageInfo> list,
|
|
|
|
List<FanartSeriesProvider.Image> images,
|
|
|
|
List<FanartSeriesProvider.Image> images,
|
|
|
|
ImageType type,
|
|
|
|
ImageType type,
|
|
|
@ -194,7 +196,7 @@ namespace MediaBrowser.Providers.TV
|
|
|
|
Width = width,
|
|
|
|
Width = width,
|
|
|
|
Height = height,
|
|
|
|
Height = height,
|
|
|
|
ProviderName = Name,
|
|
|
|
ProviderName = Name,
|
|
|
|
Url = url,
|
|
|
|
Url = _regex_http.Replace(url, "https://", 1),
|
|
|
|
Language = i.lang
|
|
|
|
Language = i.lang
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|