update configuration for virtual episodes

This commit is contained in:
Luke Pulverenti
2013-10-25 10:18:53 -04:00
parent 8a5f160da6
commit 6c1c163995
7 changed files with 31 additions and 33 deletions

View File

@@ -1166,10 +1166,8 @@ namespace MediaBrowser.Server.Implementations.Dto
return;
}
var metaFileEntry = item.ResolveArgs.GetMetaFileByPath(path);
// See if we can avoid a file system lookup by looking for the file in ResolveArgs
var dateModified = metaFileEntry == null ? File.GetLastWriteTimeUtc(path) : metaFileEntry.LastWriteTimeUtc;
var dateModified = item.GetImageDateModified(path);
ImageSize size;