From 3ff216f05a5f31d04c2bd6436774fa6fd94bd30b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 26 Jan 2017 15:27:12 -0500 Subject: [PATCH] update ShortOverview --- Emby.Dlna/Didl/DidlBuilder.cs | 5 -- Emby.Server.Core/ApplicationHost.cs | 70 +++++++++---------- .../Data/SqliteItemRepository.cs | 13 ---- Emby.Server.Implementations/Dto/DtoService.cs | 5 -- .../LiveTv/EmbyTV/EmbyTV.cs | 7 -- .../LiveTv/EmbyTV/RecordingHelper.cs | 1 - .../LiveTv/Listings/SchedulesDirect.cs | 2 +- .../LiveTv/Listings/XmlTvListingsProvider.cs | 1 - MediaBrowser.Api/ItemUpdateService.cs | 2 - MediaBrowser.Controller/Entities/BaseItem.cs | 6 -- .../Entities/InternalItemsQuery.cs | 1 - MediaBrowser.Controller/LiveTv/TimerInfo.cs | 1 - .../Parsers/BaseItemXmlParser.cs | 12 ---- .../Savers/BaseXmlSaver.cs | 5 -- .../Probing/ProbeResultNormalizer.cs | 9 +-- MediaBrowser.Model/Dto/BaseItemDto.cs | 6 -- MediaBrowser.Model/MediaInfo/MediaInfo.cs | 5 -- MediaBrowser.Model/Querying/ItemFields.cs | 5 -- .../Manager/ProviderUtils.cs | 9 --- .../MediaInfo/FFProbeVideoInfo.cs | 5 -- MediaBrowser.Providers/Omdb/OmdbProvider.cs | 4 +- .../Parsers/BaseNfoParser.cs | 11 --- .../Savers/BaseNfoSaver.cs | 2 +- 23 files changed, 40 insertions(+), 147 deletions(-) diff --git a/Emby.Dlna/Didl/DidlBuilder.cs b/Emby.Dlna/Didl/DidlBuilder.cs index ca4c3b9122..d048dcde13 100644 --- a/Emby.Dlna/Didl/DidlBuilder.cs +++ b/Emby.Dlna/Didl/DidlBuilder.cs @@ -646,11 +646,6 @@ namespace Emby.Dlna.Didl { var desc = item.Overview; - if (!string.IsNullOrEmpty(item.ShortOverview)) - { - desc = item.ShortOverview; - } - if (!string.IsNullOrWhiteSpace(desc)) { AddValue(writer, "dc", "description", desc, NS_DC); diff --git a/Emby.Server.Core/ApplicationHost.cs b/Emby.Server.Core/ApplicationHost.cs index b9412d0fbb..a3c228a58c 100644 --- a/Emby.Server.Core/ApplicationHost.cs +++ b/Emby.Server.Core/ApplicationHost.cs @@ -413,41 +413,41 @@ namespace Emby.Server.Core var result = new JsonSerializer(FileSystemManager, LogManager.GetLogger("JsonSerializer")); - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "ShortOverview", "Taglines", "Keywords", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "ShortOverview", "Taglines", "Keywords", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "ShortOverview", "Taglines", "Keywords", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "Artists", "AlbumArtists", "ChannelMediaSources", "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "ShortOverview", "Taglines", "Keywords", "ExtraType" }; - ServiceStack.Text.JsConfig.ExcludePropertyNames = new[] { "ProviderIds", "ImageInfos", "ProductionLocations", "ThemeSongIds", "ThemeVideoIds", "TotalBitrate", "ShortOverview", "Taglines", "Keywords", "ExtraType" }; - ServiceStack.Text.JsConfig