mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
updated nuget
This commit is contained in:
@@ -59,7 +59,7 @@ namespace MediaBrowser.Server.Implementations.Intros
|
||||
}
|
||||
|
||||
var ratingLevel = string.IsNullOrWhiteSpace(item.OfficialRating)
|
||||
? (int?)null
|
||||
? null
|
||||
: _localization.GetRatingLevel(item.OfficialRating);
|
||||
|
||||
var libaryItems = user.RootFolder.GetRecursiveChildren(user, false)
|
||||
@@ -134,15 +134,6 @@ namespace MediaBrowser.Server.Implementations.Intros
|
||||
WatchingItem = item,
|
||||
Random = random
|
||||
}));
|
||||
|
||||
candidates.AddRange(libaryItems.Where(i => i is Trailer).Select(i => new ItemWithTrailer
|
||||
{
|
||||
Item = i,
|
||||
Type = ItemWithTrailerType.LibraryTrailer,
|
||||
User = user,
|
||||
WatchingItem = item,
|
||||
Random = random
|
||||
}));
|
||||
}
|
||||
|
||||
var customIntros = !string.IsNullOrWhiteSpace(config.CustomIntroPath) ?
|
||||
|
||||
Reference in New Issue
Block a user