mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
Tweaked disk access a little bit more
This commit is contained in:
parent
9029d939f3
commit
76d365fcf9
@@ -81,7 +81,7 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
return;
|
||||
}
|
||||
|
||||
WIN32_FIND_DATA fileData = args.FileData;
|
||||
WIN32_FIND_DATA fileData;
|
||||
|
||||
// See if a different path came out of the resolver than what went in
|
||||
if (!args.Path.Equals(item.Path, StringComparison.OrdinalIgnoreCase))
|
||||
@@ -97,6 +97,10 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
fileData = FileData.GetFileData(item.Path);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fileData = args.File.FileInfo;
|
||||
}
|
||||
|
||||
item.DateCreated = fileData.CreationTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user