mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-24 02:56:31 +00:00
fixed themoviedb search returning no results
This commit is contained in:
@@ -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<FileSystemInfo>();
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Localization;
|
||||
using MediaBrowser.Controller.Localization;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Querying;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user