update subtitle methods

This commit is contained in:
Luke Pulverenti
2015-07-19 23:43:13 -04:00
parent 3bb65c6f99
commit 3178896004
24 changed files with 65 additions and 35 deletions

View File

@@ -122,7 +122,7 @@ namespace MediaBrowser.Server.Implementations.Library
}).Items;
// Add search hints based on item name
hints.AddRange(mediaItems.Where(i => (user == null || i.IsVisibleStandalone(user)) && !(i is CollectionFolder)).Select(item =>
hints.AddRange(mediaItems.Where(i => IncludeInSearch(i) && (user == null || i.IsVisibleStandalone(user)) && !(i is CollectionFolder)).Select(item =>
{
var index = GetIndex(item.Name, searchTerm, terms);

View File

@@ -1001,6 +1001,8 @@ namespace MediaBrowser.Server.Implementations.Persistence
}
dict["Recording"] = new[] { typeof(LiveTvAudioRecording).FullName, typeof(LiveTvVideoRecording).FullName };
dict["Program"] = new[] { typeof(LiveTvProgram).FullName };
dict["TvChannel"] = new[] { typeof(LiveTvChannel).FullName };
return dict;
}