From daaae69df575f1d7692ba29d6f5ddd4c59516f82 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 9 Oct 2016 03:18:43 -0400 Subject: add playback of in-progress recordings --- MediaBrowser.Server.Implementations/Dto/DtoService.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Dto') diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index 47c1d83320..b878226deb 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -907,15 +907,6 @@ namespace MediaBrowser.Server.Implementations.Dto dto.Keywords = item.Keywords; } - if (fields.Contains(ItemFields.PlaceOfBirth)) - { - var person = item as Person; - if (person != null) - { - dto.PlaceOfBirth = person.PlaceOfBirth; - } - } - var hasAspectRatio = item as IHasAspectRatio; if (hasAspectRatio != null) { @@ -1432,10 +1423,9 @@ namespace MediaBrowser.Server.Implementations.Dto SetBookProperties(dto, book); } - var movie = item as Movie; - if (movie != null) + if (item.ProductionLocations.Count > 0 || item is Movie) { - dto.ProductionLocations = new string[] { }; + dto.ProductionLocations = item.ProductionLocations.ToArray(); } var photo = item as Photo; -- cgit v1.2.3