From d2ed436a6fb050eb88de190cb2c8154ca6147958 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 20 Jan 2014 13:48:25 -0500 Subject: [PATCH] fix ibn filter --- MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs index 9263a574b8..5c2c9967e3 100644 --- a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs +++ b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs @@ -153,7 +153,7 @@ namespace MediaBrowser.Api.UserLibrary var libraryItems = user.RootFolder.GetRecursiveChildren(user).ToList(); - items = items.Where(i => GetLibraryItems(i, libraryItems).All(l => l.IsPlayed(user) == val)); + items = items.Where(i => GetLibraryItems(i, libraryItems).All(l => l.IsPlayed(user)) == val); } return items;