remove useless order step for intros

This commit is contained in:
dkanada 2020-08-01 02:03:23 +09:00 committed by GitHub
parent 9ec787e954
commit e0d2eb8eec
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));