diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-28 08:42:47 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-28 08:42:47 -0500 |
| commit | 2bf2d5fd769788cade10a84fc7a4a4af23c23cf1 (patch) | |
| tree | 9e46d12e66beb8356312cafd3aee8b78bf173d2c /MediaBrowser.Server.Implementations/Dto | |
| parent | f0594dea772a06e16bf1d5938836b4b3ec906424 (diff) | |
cloud sync updates
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Dto/DtoService.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index b15809738..75037159c 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -1598,14 +1598,11 @@ namespace MediaBrowser.Server.Implementations.Dto var path = imageInfo.Path; - // See if we can avoid a file system lookup by looking for the file in ResolveArgs - var dateModified = imageInfo.DateModified; - ImageSize size; try { - size = _imageProcessor.GetImageSize(path, dateModified); + size = _imageProcessor.GetImageSize(imageInfo); } catch (FileNotFoundException) { |
