aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Devices
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-02-12 17:41:46 +0100
committerGitHub <noreply@github.com>2020-02-12 17:41:46 +0100
commita2490a7ae5c636d97085a0e950fbbe1a027bfdb0 (patch)
tree985eee14b4ed220cc090fb34f17a5129708dbf13 /Emby.Server.Implementations/Devices
parentddf9b38799fa4a0e227ae3c2516a72ec48f13854 (diff)
parente241f83ff12aa2231443b78d39d1db2646aebdf9 (diff)
Merge branch 'master' into images
Diffstat (limited to 'Emby.Server.Implementations/Devices')
-rw-r--r--Emby.Server.Implementations/Devices/DeviceManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs
index ef73170506..2bd0b840a5 100644
--- a/Emby.Server.Implementations/Devices/DeviceManager.cs
+++ b/Emby.Server.Implementations/Devices/DeviceManager.cs
@@ -243,7 +243,7 @@ namespace Emby.Server.Implementations.Devices
try
{
- using (var fs = _fileSystem.GetFileStream(path, FileOpenMode.Create, FileAccessMode.Write, FileShareMode.Read))
+ using (var fs = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read))
{
await stream.CopyToAsync(fs).ConfigureAwait(false);
}