The Free Software Media System - Server Backend & API
Merge ifs
Bond_009f911fda34fdc
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.csindex 4b5cfe3b9f..0dea5041a1 100644--- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs+++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs@@ -78,16 +78,13 @@ namespace Emby.Server.Implementations.IOpublic virtual string MakeAbsolutePath(string folderPath, string filePath){- if (string.IsNullOrWhiteSpace(filePath))+ if (string.IsNullOrWhiteSpace(filePath)+ // stream+ || filePath.Contains("://")){return filePath;}- if (filePath.Contains("://"))- {- return filePath; // stream- }-if (filePath.Length > 3 && filePath[1] == ':' && filePath[2] == '/'){return filePath; // absolute local path