|
|
@ -58,7 +58,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
|
|
|
|
var tempFile = await _httpClient.GetTempFile(new HttpRequestOptions
|
|
|
|
var tempFile = await _httpClient.GetTempFile(new HttpRequestOptions
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CancellationToken = cancellationToken,
|
|
|
|
CancellationToken = cancellationToken,
|
|
|
|
Url = path
|
|
|
|
Url = path,
|
|
|
|
|
|
|
|
Progress = new Progress<Double>()
|
|
|
|
|
|
|
|
|
|
|
|
}).ConfigureAwait(false);
|
|
|
|
}).ConfigureAwait(false);
|
|
|
|
File.Copy(tempFile, cacheFile, true);
|
|
|
|
File.Copy(tempFile, cacheFile, true);
|
|
|
|