mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
Don't shuffle some types by default
This commit is contained in:
parent
e3f1f62a8b
commit
bbc0875387
22 changed files with 114 additions and 120 deletions
|
|
@ -86,20 +86,17 @@ namespace Emby.Server.Implementations.UserViews
|
|||
{
|
||||
return items
|
||||
.Where(i => i.HasImage(ImageType.Primary) || i.HasImage(ImageType.Thumb))
|
||||
.OrderBy(i => Guid.NewGuid())
|
||||
.ToList();
|
||||
}
|
||||
|
||||
return items
|
||||
.Where(i => i.HasImage(ImageType.Primary))
|
||||
.OrderBy(i => Guid.NewGuid())
|
||||
.ToList();
|
||||
}
|
||||
|
||||
protected override bool Supports(BaseItem item)
|
||||
{
|
||||
var view = item as UserView;
|
||||
if (view != null)
|
||||
if (item is UserView view)
|
||||
{
|
||||
return IsUsingCollectionStrip(view);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue