diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-06-21 10:52:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-21 10:52:09 -0400 |
| commit | d67c5388dcff3851478691d35ad1bcc15ebd2e96 (patch) | |
| tree | 25edbb7a165a5e4fc3ca7415bc2ef640e58d82fd /MediaBrowser.Controller | |
| parent | 0c381071ea91c9898495e37951c6b32721caa7b8 (diff) | |
| parent | 694082ac01334d37be18ef05c3ec6684f9b7692b (diff) | |
Merge pull request #2716 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Movies/BoxSet.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs b/MediaBrowser.Controller/Entities/Movies/BoxSet.cs index 406a99f8b..8d440e51b 100644 --- a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs +++ b/MediaBrowser.Controller/Entities/Movies/BoxSet.cs @@ -118,6 +118,11 @@ namespace MediaBrowser.Controller.Entities.Movies { get { + if (string.IsNullOrWhiteSpace(Path)) + { + return false; + } + return !FileSystem.ContainsSubPath(ConfigurationManager.ApplicationPaths.DataPath, Path); } } |
