mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update UpdateRatingToContent
This commit is contained in:
parent
8109b83972
commit
9ceff1e96a
@ -152,7 +152,7 @@ namespace MediaBrowser.Controller.Entities.Movies
|
|||||||
var currentOfficialRating = OfficialRating;
|
var currentOfficialRating = OfficialRating;
|
||||||
|
|
||||||
// Gather all possible ratings
|
// Gather all possible ratings
|
||||||
var ratings = GetRecursiveChildren(i => i is Movie || i is Series || i is MusicAlbum || i is Game)
|
var ratings = GetLinkedChildren()
|
||||||
.Select(i => i.OfficialRating)
|
.Select(i => i.OfficialRating)
|
||||||
.Where(i => !string.IsNullOrEmpty(i))
|
.Where(i => !string.IsNullOrEmpty(i))
|
||||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user