فهرست منبع

FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
Ken 4 سال پیش
والد
کامیت
eea142cad1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Emby.Server.Implementations/IO/ManagedFileSystem.cs

+ 1 - 1
Emby.Server.Implementations/IO/ManagedFileSystem.cs

@@ -249,7 +249,7 @@ namespace Emby.Server.Implementations.IO
                     // Issue #2354 get the size of files behind symbolic links
                     // Issue #2354 get the size of files behind symbolic links
                     if (fileInfo.Attributes.HasFlag(FileAttributes.ReparsePoint))
                     if (fileInfo.Attributes.HasFlag(FileAttributes.ReparsePoint))
                     {
                     {
-                        using (Stream thisFileStream = File.OpenRead(fileInfo.ToString()))
+                        using (Stream thisFileStream = File.OpenRead(fileInfo.FullName))
                         {
                         {
                             result.Length = thisFileStream.Length;
                             result.Length = thisFileStream.Length;
                         }
                         }