diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-05 12:17:32 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-05 12:17:32 -0400 |
| commit | 014f2949d714457e1c987383e59263d68c08063c (patch) | |
| tree | 99e9aa0fc4d15add2b4ec847fa7577651646a4a6 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | dc21adf1a4c832e057d7ec91901e528d3100868e (diff) | |
improve offline support and add a web client indicator
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index cab3058ef..e782717e9 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -635,8 +635,10 @@ namespace MediaBrowser.Controller.Entities /// <returns>Task.</returns> protected async virtual Task ValidateChildrenInternal(IProgress<double> progress, CancellationToken cancellationToken, bool? recursive = null, bool forceRefreshMetadata = false) { + var locationType = LocationType; + // Nothing to do here - if (LocationType != LocationType.FileSystem) + if (locationType == LocationType.Remote || locationType == LocationType.Virtual) { return; } |
