aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/PluginService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-15 23:54:20 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-15 23:54:20 -0500
commit600aa7686586d3cfd9fae05f70456a7b3badc1c9 (patch)
tree1d46f68e1bd0224ca8f498f74cffb72203fdeab9 /MediaBrowser.Api/PluginService.cs
parentf95e780a4d7ad217586ffc321d6a69fe3ab7a082 (diff)
update recordings
Diffstat (limited to 'MediaBrowser.Api/PluginService.cs')
-rw-r--r--MediaBrowser.Api/PluginService.cs5
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)
{