From e6829fcdf0db7e4ca0f42e414e077f31f621ad8b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 18 Oct 2013 15:47:57 -0400 Subject: [PATCH] improve compatibility view error message --- .../Library/Validators/YearsPostScanTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/Library/Validators/YearsPostScanTask.cs b/MediaBrowser.Server.Implementations/Library/Validators/YearsPostScanTask.cs index 8600879c2..c65568db9 100644 --- a/MediaBrowser.Server.Implementations/Library/Validators/YearsPostScanTask.cs +++ b/MediaBrowser.Server.Implementations/Library/Validators/YearsPostScanTask.cs @@ -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();