fixes #640 - Add management filters

This commit is contained in:
Luke Pulverenti
2013-12-01 21:24:14 -05:00
parent 42a2522637
commit ad52d8b5d9
13 changed files with 183 additions and 85 deletions

View File

@@ -138,6 +138,7 @@ namespace MediaBrowser.Controller.Entities
/// Gets or sets the type of the location.
/// </summary>
/// <value>The type of the location.</value>
[IgnoreDataMember]
public virtual LocationType LocationType
{
get

View File

@@ -262,7 +262,10 @@ namespace MediaBrowser.Controller.Entities
{
if (!IsInMixedFolder)
{
return new[] { System.IO.Path.GetDirectoryName(Path) };
if (VideoType == VideoType.VideoFile || VideoType == VideoType.Iso)
{
return new[] { System.IO.Path.GetDirectoryName(Path) };
}
}
return base.GetDeletePaths();