diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-16 19:35:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-16 19:35:11 -0400 |
| commit | ca3a0c5dc9824844a4591b4b22822bb8351169ae (patch) | |
| tree | d1fbdd496729dce7ffbfa01573cd3222ed998eea /MediaBrowser.Controller | |
| parent | efeaa59512508b668fe568fcab583c9ea7457e91 (diff) | |
fixes #592 - Add options to import missing and future episodes
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index d18fa82bc..5b89eb066 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -725,6 +725,13 @@ namespace MediaBrowser.Controller.Entities foreach (var item in itemsRemoved) { + if (item.LocationType == LocationType.Virtual || + item.LocationType == LocationType.Remote) + { + // Don't remove these because there's no way to accurately validate them. + continue; + } + if (!string.IsNullOrEmpty(item.Path) && IsPathOffline(item.Path)) { item.IsOffline = true; |
