|
|
@ -384,7 +384,7 @@ namespace Emby.Server.Implementations.Plugins
|
|
|
|
imagePath = Path.Join(path, url.Segments[^1]);
|
|
|
|
imagePath = Path.Join(path, url.Segments[^1]);
|
|
|
|
|
|
|
|
|
|
|
|
await using var fileStream = File.OpenWrite(imagePath);
|
|
|
|
await using var fileStream = File.OpenWrite(imagePath);
|
|
|
|
var downloadStream = await HttpClientFactory
|
|
|
|
await using var downloadStream = await HttpClientFactory
|
|
|
|
.CreateClient(NamedClient.Default)
|
|
|
|
.CreateClient(NamedClient.Default)
|
|
|
|
.GetStreamAsync(url)
|
|
|
|
.GetStreamAsync(url)
|
|
|
|
.ConfigureAwait(false);
|
|
|
|
.ConfigureAwait(false);
|
|
|
|