diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-26 19:40:15 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-26 19:40:15 -0500 |
| commit | 921ec9cd11b71171cb69fa538e9d1ec1f2ffbbd5 (patch) | |
| tree | 779a1bee9f1e8e4b1a715657f4cd3184b18945ba /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | d54c11fb747e3cf0369ddade42c93d7e795f5a4f (diff) | |
save additional info to recording nfo's
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index 695718a25..15c1cbe82 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -680,14 +680,17 @@ namespace MediaBrowser.Api.Library /// <param name="request">The request.</param> public void Post(RefreshLibrary request) { - try - { - _libraryManager.ValidateMediaLibrary(new Progress<double>(), CancellationToken.None); - } - catch (Exception ex) + Task.Run(() => { - Logger.ErrorException("Error refreshing library", ex); - } + try + { + _libraryManager.ValidateMediaLibrary(new Progress<double>(), CancellationToken.None); + } + catch (Exception ex) + { + Logger.ErrorException("Error refreshing library", ex); + } + }); } /// <summary> |
