diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-10 15:11:46 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-10 15:11:46 -0500 |
| commit | cf9ef0e43d01decd743c5444785ee247bda3cb32 (patch) | |
| tree | 147bd7b0e2afdb8d88a56e1cf6b9b59bbb1eb14a /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | 326fa5a67090246c519cdb318c314bee4049a460 (diff) | |
fix refresh of tv recordings
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index 17520ba1c..6ffa10191 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -69,17 +69,7 @@ namespace MediaBrowser.Api.Library public object Get(GetPhyscialPaths request) { var result = _libraryManager.RootFolder.Children - .SelectMany(c => - { - var locationType = c.LocationType; - - if (locationType != LocationType.Remote && locationType != LocationType.Virtual) - { - return c.PhysicalLocations; - } - - return new List<string>(); - }) + .SelectMany(c => c.PhysicalLocations) .ToList(); return ToOptimizedSerializedResultUsingCache(result); |
