diff --git a/src/Configuration/VuPlusConfigurationPage.cs b/src/Configuration/VuPlusConfigurationPage.cs deleted file mode 100644 index ad307db..0000000 --- a/src/Configuration/VuPlusConfigurationPage.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System.IO; -using MediaBrowser.Common.Plugins; -using MediaBrowser.Controller.Plugins; - -namespace MediaBrowser.Plugins.VuPlus.Configuration -{ - /// - /// Class VuPlusConfigurationPage - /// - class VuPlusConfigurationPage : IPluginConfigurationPage - { - /// - /// Gets the type of the configuration page. - /// - /// The type of the configuration page. - public ConfigurationPageType ConfigurationPageType - { - get { return ConfigurationPageType.PluginConfiguration; } - } - - /// - /// Gets the HTML stream. - /// - /// Stream. - public Stream GetHtmlStream() - { - return GetType().Assembly.GetManifestResourceStream("MediaBrowser.Plugins.VuPlus.Configuration.configPage.html"); - } - - /// - /// Gets the name. - /// - /// The name. - public string Name - { - get { return "VuPlus"; } - } - - public IPlugin Plugin - { - get { return VuPlus.Plugin.Instance; } - } - } -} diff --git a/src/MediaBrowser.Plugins.VuPlus.csproj b/src/MediaBrowser.Plugins.VuPlus.csproj index 30b92be..59f2c33 100644 --- a/src/MediaBrowser.Plugins.VuPlus.csproj +++ b/src/MediaBrowser.Plugins.VuPlus.csproj @@ -32,19 +32,16 @@ 4 - - packages\Interfaces.IO.1.0.0.5\lib\portable-net45+sl4+wp71+win8+wpa81\Interfaces.IO.dll - - - packages\MediaBrowser.Common.3.0.664\lib\net45\MediaBrowser.Common.dll + + packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Common.dll True - - packages\MediaBrowser.Server.Core.3.0.664\lib\net45\MediaBrowser.Controller.dll + + packages\MediaBrowser.Server.Core.3.0.680\lib\net45\MediaBrowser.Controller.dll True - - packages\MediaBrowser.Common.3.0.664\lib\net45\MediaBrowser.Model.dll + + packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Model.dll True @@ -59,7 +56,6 @@ Properties\SharedVersion.cs - diff --git a/src/Plugin.cs b/src/Plugin.cs index ca7d8c6..6d7ad80 100644 --- a/src/Plugin.cs +++ b/src/Plugin.cs @@ -1,5 +1,7 @@ +using System.Collections.Generic; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Plugins; +using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Serialization; using MediaBrowser.Plugins.VuPlus.Configuration; @@ -8,7 +10,7 @@ namespace MediaBrowser.Plugins.VuPlus /// /// Class Plugin /// - public class Plugin : BasePlugin + public class Plugin : BasePlugin, IHasWebPages { public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) : base(applicationPaths, xmlSerializer) @@ -42,5 +44,17 @@ namespace MediaBrowser.Plugins.VuPlus /// /// The instance. public static Plugin Instance { get; private set; } + + public IEnumerable GetPages() + { + return new[] + { + new PluginPageInfo + { + Name = "vuplus", + EmbeddedResourcePath = "MediaBrowser.Plugins.VuPlus.Configuration.configPage.html" + } + }; + } } } diff --git a/src/packages.config b/src/packages.config index 5a2bb30..cf5667d 100644 --- a/src/packages.config +++ b/src/packages.config @@ -1,6 +1,5 @@  - - - + + \ No newline at end of file diff --git a/src/packages/MediaBrowser.Common.3.0.680/MediaBrowser.Common.3.0.680.nupkg b/src/packages/MediaBrowser.Common.3.0.680/MediaBrowser.Common.3.0.680.nupkg new file mode 100644 index 0000000..c4dd294 Binary files /dev/null and b/src/packages/MediaBrowser.Common.3.0.680/MediaBrowser.Common.3.0.680.nupkg differ diff --git a/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Common.dll b/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Common.dll new file mode 100644 index 0000000..1769d1e Binary files /dev/null and b/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Common.dll differ diff --git a/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Model.dll b/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Model.dll new file mode 100644 index 0000000..b529e75 Binary files /dev/null and b/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Model.dll differ diff --git a/src/packages/MediaBrowser.Common.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Model.dll b/src/packages/MediaBrowser.Common.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Model.dll new file mode 100644 index 0000000..b529e75 Binary files /dev/null and b/src/packages/MediaBrowser.Common.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Model.dll differ diff --git a/src/packages/MediaBrowser.Server.Core.3.0.680/MediaBrowser.Server.Core.3.0.680.nupkg b/src/packages/MediaBrowser.Server.Core.3.0.680/MediaBrowser.Server.Core.3.0.680.nupkg new file mode 100644 index 0000000..2c71b89 Binary files /dev/null and b/src/packages/MediaBrowser.Server.Core.3.0.680/MediaBrowser.Server.Core.3.0.680.nupkg differ diff --git a/src/packages/MediaBrowser.Server.Core.3.0.680/lib/net45/MediaBrowser.Controller.dll b/src/packages/MediaBrowser.Server.Core.3.0.680/lib/net45/MediaBrowser.Controller.dll new file mode 100644 index 0000000..391e6d7 Binary files /dev/null and b/src/packages/MediaBrowser.Server.Core.3.0.680/lib/net45/MediaBrowser.Controller.dll differ diff --git a/src/packages/MediaBrowser.Server.Core.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Controller.dll b/src/packages/MediaBrowser.Server.Core.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Controller.dll new file mode 100644 index 0000000..391e6d7 Binary files /dev/null and b/src/packages/MediaBrowser.Server.Core.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Controller.dll differ