aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-16 19:35:11 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-16 19:35:11 -0400
commitca3a0c5dc9824844a4591b4b22822bb8351169ae (patch)
treed1fbdd496729dce7ffbfa01573cd3222ed998eea /MediaBrowser.Controller
parentefeaa59512508b668fe568fcab583c9ea7457e91 (diff)
fixes #592 - Add options to import missing and future episodes
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Entities/Folder.cs7
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;