diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-02-16 12:15:15 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-02-16 12:15:15 -0500 |
| commit | 78484a28133846eea2ff7496facccc49476125e9 (patch) | |
| tree | ec3e26374a3727dde8c7df69072c8d0d8befbd8e /MediaBrowser.Api/PluginService.cs | |
| parent | 12855121607918671aab70fabb0b42180c0fe02c (diff) | |
| parent | 25a3207543877fc2ff0633ebe2cfa2d29d5ff9d3 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/Emby
Diffstat (limited to 'MediaBrowser.Api/PluginService.cs')
| -rw-r--r-- | MediaBrowser.Api/PluginService.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Api/PluginService.cs b/MediaBrowser.Api/PluginService.cs index 2d7444f60..aead73def 100644 --- a/MediaBrowser.Api/PluginService.cs +++ b/MediaBrowser.Api/PluginService.cs @@ -208,7 +208,7 @@ namespace MediaBrowser.Api foreach (var plugin in result) { - var pkg = packages.FirstOrDefault(i => !string.IsNullOrWhiteSpace(i.guid) && new Guid(plugin.Id).Equals(new Guid(i.guid))); + var pkg = packages.FirstOrDefault(i => !string.IsNullOrWhiteSpace(i.guid) && string.Equals(i.guid.Replace("-", string.Empty), plugin.Id.Replace("-", string.Empty), StringComparison.OrdinalIgnoreCase)); if (pkg != null) { @@ -228,8 +228,9 @@ namespace MediaBrowser.Api .ToList(); } } - catch + catch (Exception ex) { + //Logger.ErrorException("Error getting plugin list", ex); // Play it safe here if (requireAppStoreEnabled) { |
