aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/IO/ManagedFileSystem.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-03-18 19:39:32 -0400
committerGitHub <noreply@github.com>2017-03-18 19:39:32 -0400
commit796096976f4af5b96b76812457faa2be5e657e18 (patch)
tree381e97d63bf0d36ba409023665cb3cfd8f9f72e7 /Emby.Common.Implementations/IO/ManagedFileSystem.cs
parent66a886adeffe40f41b1353d14fe8559ea134b83f (diff)
parent41060c9a38cb7cf8875cb85fd3a4577ae8546f8a (diff)
Merge pull request #2533 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Common.Implementations/IO/ManagedFileSystem.cs')
-rw-r--r--Emby.Common.Implementations/IO/ManagedFileSystem.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Emby.Common.Implementations/IO/ManagedFileSystem.cs b/Emby.Common.Implementations/IO/ManagedFileSystem.cs
index 2c9388a41..0c1c02cd5 100644
--- a/Emby.Common.Implementations/IO/ManagedFileSystem.cs
+++ b/Emby.Common.Implementations/IO/ManagedFileSystem.cs
@@ -28,7 +28,11 @@ namespace Emby.Common.Implementations.IO
Logger = logger;
_supportsAsyncFileStreams = true;
_tempPath = tempPath;
- EnableFileSystemRequestConcat = false;
+
+ // On Linux, this needs to be true or symbolic links are ignored
+ EnableFileSystemRequestConcat = environmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.Windows &&
+ environmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.OSX;
+
SetInvalidFileNameChars(environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows);
}