From 6025a89235f0677e38992abee49e914b47e762cb Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 26 Jun 2013 12:08:16 -0400 Subject: [PATCH] read 3d format from xml --- MediaBrowser.Api/LibraryService.cs | 4 +- .../UserLibrary/UserLibraryService.cs | 4 +- MediaBrowser.Api/VideosService.cs | 2 +- MediaBrowser.Controller/Entities/BaseItem.cs | 6 +- .../Entities/ChildDefinition.cs | 22 ----- MediaBrowser.Controller/Entities/Folder.cs | 46 +++------- .../Entities/Movies/Movie.cs | 2 +- MediaBrowser.Controller/Entities/Video.cs | 2 +- .../Library/ILibraryManager.cs | 3 +- .../MediaBrowser.Controller.csproj | 2 - .../Persistence/IItemRepository.cs | 39 +-------- .../Providers/BaseItemXmlParser.cs | 86 ++++++++++++++++++- .../Library/LibraryManager.cs | 11 ++- ...MediaBrowser.Server.Implementations.csproj | 1 + .../Persistence/SqliteItemRepository.cs | 56 ++++++------ .../Persistence}/TypeMapper.cs | 2 +- .../ScheduledTasks/VideoImagesTask.cs | 8 +- 17 files changed, 152 insertions(+), 144 deletions(-) delete mode 100644 MediaBrowser.Controller/Entities/ChildDefinition.cs rename {MediaBrowser.Controller/Reflection => MediaBrowser.Server.Implementations/Persistence}/TypeMapper.cs (96%) diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs index dd15dbc30d..d1f50687ac 100644 --- a/MediaBrowser.Api/LibraryService.cs +++ b/MediaBrowser.Api/LibraryService.cs @@ -562,7 +562,7 @@ namespace MediaBrowser.Api var dtoBuilder = new DtoBuilder(Logger, _libraryManager, _userDataRepository, _itemRepo); - var items = _itemRepo.RetrieveItems