diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-01 21:24:14 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-01 21:24:14 -0500 |
| commit | ad52d8b5d96bea85c17f37da7ff3334164f8d4a4 (patch) | |
| tree | 1011a8fb901bfc8422f66f69fa6ee2effc6362fe /MediaBrowser.Controller/Entities/Video.cs | |
| parent | 42a2522637d1772381eecee0d32ed3ef60fa3c73 (diff) | |
fixes #640 - Add management filters
Diffstat (limited to 'MediaBrowser.Controller/Entities/Video.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Video.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs index ef768f628..9b02571b0 100644 --- a/MediaBrowser.Controller/Entities/Video.cs +++ b/MediaBrowser.Controller/Entities/Video.cs @@ -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(); |
