From 69b83082c856355de416b17c1dc73b3ad7505db1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 12 Oct 2014 11:18:26 -0400 Subject: grab image sizes at discovery time --- MediaBrowser.Server.Implementations/Session/SessionManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Session') 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)) -- cgit v1.2.3