improve compatibility view error message

This commit is contained in:
Luke Pulverenti 2013-10-18 15:47:57 -04:00
parent d87a8ce8fa
commit e6829fcdf0

View File

@ -22,7 +22,7 @@ namespace MediaBrowser.Server.Implementations.Library.Validators
{
var allYears = _libraryManager.RootFolder.RecursiveChildren
.Select(i => i.ProductionYear ?? -1)
.Where(i => i != -1)
.Where(i => i > 0)
.Distinct()
.ToList();