From ca3a0c5dc9824844a4591b4b22822bb8351169ae Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 16 Oct 2013 19:35:11 -0400 Subject: fixes #592 - Add options to import missing and future episodes --- MediaBrowser.Controller/Entities/Folder.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index d18fa82bc4..5b89eb0663 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; -- cgit v1.2.3