aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/HttpHandlers/PluginsHandler.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-03 14:15:07 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-03 14:15:07 -0400
commit4500f1d11bac97d553af74a5053aa42ac00f6ff7 (patch)
tree49177d935c0a99095bfd12366548de65cfd40d43 /MediaBrowser.Api/HttpHandlers/PluginsHandler.cs
parent74945388297a950b51bcace446858ba07203762c (diff)
Added an api method to download the list of installed plugins from the server
Diffstat (limited to 'MediaBrowser.Api/HttpHandlers/PluginsHandler.cs')
-rw-r--r--MediaBrowser.Api/HttpHandlers/PluginsHandler.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Api/HttpHandlers/PluginsHandler.cs b/MediaBrowser.Api/HttpHandlers/PluginsHandler.cs
index ab2efc949..acfa5ebeb 100644
--- a/MediaBrowser.Api/HttpHandlers/PluginsHandler.cs
+++ b/MediaBrowser.Api/HttpHandlers/PluginsHandler.cs
@@ -21,15 +21,10 @@ namespace MediaBrowser.Api.HttpHandlers
Name = p.Name,
Enabled = p.Enabled,
DownloadToUI = p.DownloadToUI,
- Version = p.Version
+ Version = p.Version.ToString()
};
});
- if (QueryString["uionly"] == "1")
- {
- plugins = plugins.Where(p => p.DownloadToUI);
- }
-
return Task.FromResult<IEnumerable<PluginInfo>>(plugins);
}
}