compatibility update
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
using System.IO;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Controller.Plugins;
|
||||
|
||||
namespace MediaBrowser.Plugins.VuPlus.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Class VuPlusConfigurationPage
|
||||
/// </summary>
|
||||
class VuPlusConfigurationPage : IPluginConfigurationPage
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the type of the configuration page.
|
||||
/// </summary>
|
||||
/// <value>The type of the configuration page.</value>
|
||||
public ConfigurationPageType ConfigurationPageType
|
||||
{
|
||||
get { return ConfigurationPageType.PluginConfiguration; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the HTML stream.
|
||||
/// </summary>
|
||||
/// <returns>Stream.</returns>
|
||||
public Stream GetHtmlStream()
|
||||
{
|
||||
return GetType().Assembly.GetManifestResourceStream("MediaBrowser.Plugins.VuPlus.Configuration.configPage.html");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name
|
||||
{
|
||||
get { return "VuPlus"; }
|
||||
}
|
||||
|
||||
public IPlugin Plugin
|
||||
{
|
||||
get { return VuPlus.Plugin.Instance; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,19 +32,16 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Interfaces.IO">
|
||||
<HintPath>packages\Interfaces.IO.1.0.0.5\lib\portable-net45+sl4+wp71+win8+wpa81\Interfaces.IO.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.1.6134.21286, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Common.3.0.664\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.1.6143.3133, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.1.6134.21286, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Server.Core.3.0.664\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.1.6143.3132, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Server.Core.3.0.680\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.1.6134.21287, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Common.3.0.664\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.1.6143.3133, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
@@ -59,7 +56,6 @@
|
||||
<Compile Include="..\..\Emby.Plugins\SharedVersion.cs">
|
||||
<Link>Properties\SharedVersion.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Configuration\VuPlusConfigurationPage.cs" />
|
||||
<Compile Include="Configuration\PluginConfiguration.cs" />
|
||||
<Compile Include="Helpers\GeneralHelpers.cs" />
|
||||
<Compile Include="Helpers\EncryptionHelper.cs" />
|
||||
|
||||
+15
-1
@@ -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
|
||||
/// <summary>
|
||||
/// Class Plugin
|
||||
/// </summary>
|
||||
public class Plugin : BasePlugin<PluginConfiguration>
|
||||
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
{
|
||||
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
|
||||
: base(applicationPaths, xmlSerializer)
|
||||
@@ -42,5 +44,17 @@ namespace MediaBrowser.Plugins.VuPlus
|
||||
/// </summary>
|
||||
/// <value>The instance.</value>
|
||||
public static Plugin Instance { get; private set; }
|
||||
|
||||
public IEnumerable<PluginPageInfo> GetPages()
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
new PluginPageInfo
|
||||
{
|
||||
Name = "vuplus",
|
||||
EmbeddedResourcePath = "MediaBrowser.Plugins.VuPlus.Configuration.configPage.html"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-3
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Interfaces.IO" version="1.0.0.5" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.664" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.664" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.680" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.680" targetFramework="net45" />
|
||||
</packages>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user