mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
paging progress
This commit is contained in:
parent
4e76319f16
commit
dbf9ac1233
@ -198,6 +198,8 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
|
||||
items = items.AsParallel();
|
||||
|
||||
items = ApplyAdditionalFilters(request, items);
|
||||
|
||||
// Apply filters
|
||||
// Run them starting with the ones that are likely to reduce the list the most
|
||||
foreach (var filter in GetFilters(request).OrderByDescending(f => (int)f))
|
||||
@ -205,8 +207,6 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
items = ApplyFilter(items, filter, user);
|
||||
}
|
||||
|
||||
items = ApplyAdditionalFilters(request, items);
|
||||
|
||||
items = items.AsEnumerable();
|
||||
|
||||
items = ApplySearchTerm(request, items);
|
||||
|
@ -288,7 +288,7 @@ namespace MediaBrowser.Server.Implementations.Updates
|
||||
|
||||
return latestPluginInfo != null && latestPluginInfo.version > p.Version ? latestPluginInfo : null;
|
||||
|
||||
}).Where(p => !CompletedInstallations.Any(i => i.Name.Equals(p.name, StringComparison.OrdinalIgnoreCase)))
|
||||
}).Where(p => !CompletedInstallations.Any(i => string.Equals(i.Name, p.name, StringComparison.OrdinalIgnoreCase)))
|
||||
.Where(p => p != null && !string.IsNullOrWhiteSpace(p.sourceUrl));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user