diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-18 01:53:39 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-18 01:53:39 -0400 |
| commit | 4d7d8961b44aadd1d1c8f84bedd5d5ff9508d876 (patch) | |
| tree | 2d6390aa6429d6ef37191235f2140611262186da /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | 6a66aef608a0caa567f603edbd9a4e3466fda469 (diff) | |
update encoding detection
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 18 |
1 files changed, 0 insertions, 18 deletions
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<string> { person.PlaceOfBirth }; - } - } - return item; } |
