exclude unrated from intros

pull/702/head
Luke Pulverenti 8 years ago
parent 7a67dba8ef
commit 512740cfb2

@ -101,6 +101,7 @@ namespace MediaBrowser.Server.Implementations.Intros
SimilarTo = item,
IsPlayed = config.EnableIntrosForWatchedContent ? (bool?)null : false,
MaxParentalRating = config.EnableIntrosParentalControl ? ratingLevel : null,
BlockUnratedItems = config.EnableIntrosParentalControl ? new[] { UnratedItem.Trailer } : new UnratedItem[] { },
Limit = config.TrailerLimit
});

Loading…
Cancel
Save