diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-17 15:07:21 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-17 15:07:21 -0400 |
| commit | f32f000298114231f114f41b7c7c4534a0300de2 (patch) | |
| tree | 2003655d230f2c9b1f40885663ec51ddf30ee89d /MediaBrowser.HtmlBrowser/Plugin.cs | |
| parent | ed018a8bea89f4a19dbfca2e21eb7207df2db332 (diff) | |
Removed more kernel methods and deprecated the Configuration and HtmlBrowser projects. They've both been replaced by the new WebDashboard project.
Diffstat (limited to 'MediaBrowser.HtmlBrowser/Plugin.cs')
| -rw-r--r-- | MediaBrowser.HtmlBrowser/Plugin.cs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/MediaBrowser.HtmlBrowser/Plugin.cs b/MediaBrowser.HtmlBrowser/Plugin.cs deleted file mode 100644 index b5ec26e06..000000000 --- a/MediaBrowser.HtmlBrowser/Plugin.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.ComponentModel.Composition;
-using MediaBrowser.Common.Plugins;
-using MediaBrowser.Controller;
-using MediaBrowser.Model.Plugins;
-
-namespace MediaBrowser.HtmlBrowser
-{
- [Export(typeof(BasePlugin))]
- public class Plugin : BaseGenericPlugin<BasePluginConfiguration>
- {
- public override string Name
- {
- get { return "Html Library Browser"; }
- }
-
- public override void Init()
- {
- var httpServer = Kernel.Instance.HttpServer;
-
- /*httpServer.Where(ctx => ctx.LocalPath.IndexOf("/browser/", StringComparison.OrdinalIgnoreCase) != -1).Subscribe(ctx =>
- {
- string localPath = ctx.LocalPath;
- string srch = "/browser/";
-
- int index = localPath.IndexOf(srch, StringComparison.OrdinalIgnoreCase);
-
- string resource = localPath.Substring(index + srch.Length);
-
- ctx.Respond(new EmbeddedResourceHandler(ctx, resource));
-
- });*/
- }
- }
-}
|
