aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/IO/ManagedFileSystem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-18 19:37:29 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-18 19:37:29 -0400
commit79f3eb3fe2b33a49ce43fe0c616671483e97efc3 (patch)
treeb80ec17fd0c0d2ffe69b7f4bb12621688fa345f4 /Emby.Common.Implementations/IO/ManagedFileSystem.cs
parent3dcaeea20c3a7055dd8759e351d30c591ce1360d (diff)
update live tv osd
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);
}