From 1a9e2dfd83dbab2e9a5f277229c5994253fd8a9a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 17 Feb 2014 16:35:08 -0500 Subject: fixed themoviedb search returning no results --- MediaBrowser.Controller/Entities/BaseItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs') diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 41c4f0baed..62ea0cf5d1 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -163,7 +163,7 @@ namespace MediaBrowser.Controller.Entities { var locationType = LocationType; - return locationType == LocationType.FileSystem || locationType == LocationType.Offline; + return locationType != LocationType.Remote && locationType != LocationType.Virtual; } } @@ -581,7 +581,7 @@ namespace MediaBrowser.Controller.Entities try { - var files = locationType == LocationType.FileSystem || locationType == LocationType.Offline ? + var files = locationType != LocationType.Remote && locationType != LocationType.Virtual ? GetFileSystemChildren(options.DirectoryService).ToList() : new List(); -- cgit v1.2.3