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

Remove useless order step for intros
pull/3782/head
Bond-009 4 years ago committed by GitHub
commit 7621c8b806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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));

Loading…
Cancel
Save