add filters to folder browsing
This commit is contained in:
parent
4ae6b333f4
commit
5bcb7fe67f
|
@ -30,5 +30,9 @@ namespace MediaBrowser.Model.Entities
|
||||||
/// The guest star
|
/// The guest star
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string GuestStar = "GuestStar";
|
public const string GuestStar = "GuestStar";
|
||||||
|
/// <summary>
|
||||||
|
/// The producer
|
||||||
|
/// </summary>
|
||||||
|
public const string Producer = "Producer";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -630,7 +630,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
{
|
{
|
||||||
cancellationToken.ThrowIfCancellationRequested();
|
cancellationToken.ThrowIfCancellationRequested();
|
||||||
|
|
||||||
_logger.Debug("Creating {0}: {1}", typeof(T).Name, name);
|
_logger.Debug("Getting {0}: {1}", typeof(T).Name, name);
|
||||||
|
|
||||||
path = Path.Combine(path, FileSystem.GetValidFilename(name));
|
path = Path.Combine(path, FileSystem.GetValidFilename(name));
|
||||||
|
|
||||||
|
@ -694,7 +694,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
|
|
||||||
var tasks = new List<Task>();
|
var tasks = new List<Task>();
|
||||||
|
|
||||||
var includedPersonTypes = new[] { PersonType.Actor, PersonType.Director, PersonType.GuestStar };
|
var includedPersonTypes = new[] { PersonType.Actor, PersonType.Director, PersonType.GuestStar, PersonType.Writer, PersonType.Director, PersonType.Producer };
|
||||||
|
|
||||||
var people = RootFolder.RecursiveChildren
|
var people = RootFolder.RecursiveChildren
|
||||||
.Where(c => c.People != null)
|
.Where(c => c.People != null)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user