mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
update encoding detection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user