|
|
@ -247,7 +247,7 @@ namespace Emby.Server.Implementations.IO
|
|
|
|
result.Length = fileInfo.Length;
|
|
|
|
result.Length = fileInfo.Length;
|
|
|
|
|
|
|
|
|
|
|
|
// 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.ToString()))
|
|
|
|
{
|
|
|
|
{
|
|
|
|