From 6d78824c8e9fa9fe1e46944ca6901af724b8f7cd Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 6 Aug 2017 19:01:00 -0400 Subject: [PATCH] update components --- Emby.Server.Core/ApplicationHost.cs | 72 ++++++++--------- .../Data/SqliteItemRepository.cs | 79 +++++++------------ Emby.Server.Implementations/Dto/DtoService.cs | 7 +- .../LiveTv/LiveTvManager.cs | 7 +- MediaBrowser.Api/Playback/MediaInfoService.cs | 13 ++- MediaBrowser.Api/SearchService.cs | 1 - .../Collections/ManualCollectionsFolder.cs | 1 - .../Entities/Audio/Audio.cs | 2 + MediaBrowser.Controller/Entities/BaseItem.cs | 17 ++-- .../Entities/IHasImages.cs | 8 +- .../Entities/IHasMetadata.cs | 1 - .../Entities/MusicVideo.cs | 1 + MediaBrowser.Controller/Entities/Video.cs | 6 ++ .../Parsers/BaseItemXmlParser.cs | 12 --- .../Savers/BaseXmlSaver.cs | 6 -- MediaBrowser.Model/Dto/BaseItemDto.cs | 6 -- MediaBrowser.Model/Search/SearchHint.cs | 6 -- MediaBrowser.Model/Users/UserPolicy.cs | 2 + .../Manager/MetadataService.cs | 7 -- .../Manager/ProviderUtils.cs | 13 ++- .../Parsers/BaseNfoParser.cs | 15 ---- .../Savers/BaseNfoSaver.cs | 6 -- Nuget/MediaBrowser.Common.nuspec | 2 +- Nuget/MediaBrowser.Server.Core.nuspec | 4 +- SharedVersion.cs | 2 +- 25 files changed, 111 insertions(+), 185 deletions(-) diff --git a/Emby.Server.Core/ApplicationHost.cs b/Emby.Server.Core/ApplicationHost.cs index 8a239a228..68cb2a4e3 100644 --- a/Emby.Server.Core/ApplicationHost.cs +++ b/Emby.Server.Core/ApplicationHost.cs @@ -410,7 +410,7 @@ namespace Emby.Server.Core { Logger.ErrorException("Error in {0}", ex, name); } - Logger.Info("Entry point completed: {0}. Duration: {1} seconds", name, (DateTime.UtcNow - now).TotalSeconds.ToString(CultureInfo.InvariantCulture)); + Logger.Info("Entry point completed: {0}. Duration: {1} seconds", name, (DateTime.UtcNow - now).TotalSeconds.ToString(CultureInfo.InvariantCulture), "ImageInfos"); } Logger.Info("All entry points have started"); @@ -431,41 +431,41 @@ namespace Emby.Server.Core var result = new JsonSerializer(FileSystemManager, LogManager.GetLogger("JsonSerializer")); - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "Taglines", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "Taglines", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "Taglines", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "Artists", "AlbumArtists", "ChannelMediaSources", "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "Taglines", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "Taglines", "ExtraType" }; - ServiceStack.Text.JsConfig