From 4d7d8961b44aadd1d1c8f84bedd5d5ff9508d876 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 18 Apr 2017 01:53:39 -0400 Subject: update encoding detection --- .../Data/SqliteItemRepository.cs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Emby.Server.Implementations/Data') diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index c5ba6c892..51f91acf3 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -1990,24 +1990,6 @@ namespace Emby.Server.Implementations.Data } index++; - if (string.IsNullOrWhiteSpace(item.Tagline)) - { - var movie = item as Movie; - if (movie != null && movie.Taglines.Count > 0) - { - movie.Tagline = movie.Taglines[0]; - } - } - - if (type == typeof(Person) && item.ProductionLocations.Count == 0) - { - var person = (Person)item; - if (!string.IsNullOrWhiteSpace(person.PlaceOfBirth)) - { - item.ProductionLocations = new List { person.PlaceOfBirth }; - } - } - return item; } -- cgit v1.2.3