diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-24 13:50:49 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-24 13:50:49 -0400 |
| commit | f3e9bbed2361a2b0d9024186fe8854a136921cd9 (patch) | |
| tree | 55316c5c6f0a869fa110826ce73658228513691f /MediaBrowser.Api/Library/LibraryHelpers.cs | |
| parent | 76875e17ee951b967e591e7f8166ed8c1f45bbf6 (diff) | |
update file system methods
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryHelpers.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Library/LibraryHelpers.cs b/MediaBrowser.Api/Library/LibraryHelpers.cs index 5e40ac635..877321b77 100644 --- a/MediaBrowser.Api/Library/LibraryHelpers.cs +++ b/MediaBrowser.Api/Library/LibraryHelpers.cs @@ -37,7 +37,7 @@ namespace MediaBrowser.Api.Library { throw new DirectoryNotFoundException(string.Format("The media collection {0} does not exist", virtualFolderName)); } - + var shortcut = Directory.EnumerateFiles(path, ShortcutFileSearch, SearchOption.AllDirectories).FirstOrDefault(f => fileSystem.ResolveShortcut(f).Equals(mediaPath, StringComparison.OrdinalIgnoreCase)); if (!string.IsNullOrEmpty(shortcut)) |
