Merge pull request #3769 from jellyfin/dkanada-patch-1

Remove useless order step for intros
This commit is contained in:
Bond-009 2020-08-01 12:42:15 +02:00 committed by GitHub
commit 7621c8b806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1592,7 +1592,6 @@ namespace Emby.Server.Implementations.Library
public async Task<IEnumerable<Video>> GetIntros(BaseItem item, User user)
{
var tasks = IntroProviders
.OrderBy(i => i.GetType().Name.Contains("Default", StringComparison.OrdinalIgnoreCase) ? 1 : 0)
.Take(1)
.Select(i => GetIntros(i, item, user));