diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-12 11:18:26 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-12 11:18:26 -0400 |
| commit | 69b83082c856355de416b17c1dc73b3ad7505db1 (patch) | |
| tree | a3a2a6a951fd88132a0fdff6df8d451099c38856 /MediaBrowser.Server.Implementations/Session/SessionManager.cs | |
| parent | 47915df62c3875781ebc58fe5cc13b31377f8aac (diff) | |
grab image sizes at discovery time
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs index 8d640bf1e..c16044bd3 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs @@ -26,7 +26,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; -using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -1594,7 +1593,7 @@ namespace MediaBrowser.Server.Implementations.Session { info.ChapterImagesItemId = chapterOwner.Id.ToString("N"); - info.Chapters = _itemRepo.GetChapters(chapterOwner.Id).Select(i => _dtoService.GetChapterInfoDto(i, chapterOwner)).ToList(); + info.Chapters = _dtoService.GetChapterInfoDtos(chapterOwner).ToList(); } if (!string.IsNullOrWhiteSpace(mediaSourceId)) |
