aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Devices/DeviceManager.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-01-23 19:33:40 +0300
committerGitHub <noreply@github.com>2020-01-23 19:33:40 +0300
commit8ff07e17e6f58a1102b9d8c36a995dec4dc2f041 (patch)
tree2449fce4593828d3f2b407a9a8852e76b02e8f5e /Emby.Server.Implementations/Devices/DeviceManager.cs
parent6eac7f0fa7e753731e3d65c0b6c0323eb730ccd8 (diff)
parentc751ba9f70ca19297406542869a08cec9fc1e558 (diff)
Merge pull request #2242 from Bond-009/getstream
Remove FileSystem.GetStream
Diffstat (limited to 'Emby.Server.Implementations/Devices/DeviceManager.cs')
-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 ef7317050..2bd0b840a 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);
}