diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bdc3535 --- /dev/null +++ b/.gitignore @@ -0,0 +1,108 @@ +# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) +[Bb]in/ +[Oo]bj/ + +# mstest test results +TestResults + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +x64/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.log +*.vspscc +*.vssscc +.builds + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper* + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Publish Web Output +*.Publish.xml + +# NuGet Packages Directory +packages + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +[Bb]in +[Oo]bj +sql +TestResults +[Tt]est[Rr]esult* +*.Cache +ClientBin +[Ss]tyle[Cc]op.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML diff --git a/MediaBrowser.Plugins.VuPlus.sln b/MediaBrowser.Plugins.VuPlus.sln new file mode 100644 index 0000000..fe0b192 --- /dev/null +++ b/MediaBrowser.Plugins.VuPlus.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26730.3 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.VuPlus", "MediaBrowser.Plugins.VuPlus\MediaBrowser.Plugins.VuPlus.csproj", "{52B1ABDF-09C1-450E-B808-BBA0A9C19848}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {52B1ABDF-09C1-450E-B808-BBA0A9C19848}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {52B1ABDF-09C1-450E-B808-BBA0A9C19848}.Debug|Any CPU.Build.0 = Debug|Any CPU + {52B1ABDF-09C1-450E-B808-BBA0A9C19848}.Release|Any CPU.ActiveCfg = Release|Any CPU + {52B1ABDF-09C1-450E-B808-BBA0A9C19848}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {347CA3B3-ECDC-4C93-A92F-946E2BC0D1B9} + EndGlobalSection +EndGlobal diff --git a/src/Configuration/PluginConfiguration.cs b/MediaBrowser.Plugins.VuPlus/Configuration/PluginConfiguration.cs similarity index 100% rename from src/Configuration/PluginConfiguration.cs rename to MediaBrowser.Plugins.VuPlus/Configuration/PluginConfiguration.cs diff --git a/src/Configuration/configPage.html b/MediaBrowser.Plugins.VuPlus/Configuration/configPage.html similarity index 100% rename from src/Configuration/configPage.html rename to MediaBrowser.Plugins.VuPlus/Configuration/configPage.html diff --git a/src/Helpers/GeneralHelpers.cs b/MediaBrowser.Plugins.VuPlus/Helpers/GeneralHelpers.cs similarity index 100% rename from src/Helpers/GeneralHelpers.cs rename to MediaBrowser.Plugins.VuPlus/Helpers/GeneralHelpers.cs diff --git a/src/Images/Vu+.png b/MediaBrowser.Plugins.VuPlus/Images/Vu+.png similarity index 100% rename from src/Images/Vu+.png rename to MediaBrowser.Plugins.VuPlus/Images/Vu+.png diff --git a/src/LiveTvService.cs b/MediaBrowser.Plugins.VuPlus/LiveTvService.cs similarity index 100% rename from src/LiveTvService.cs rename to MediaBrowser.Plugins.VuPlus/LiveTvService.cs diff --git a/MediaBrowser.Plugins.VuPlus/MediaBrowser.Plugins.VuPlus.csproj b/MediaBrowser.Plugins.VuPlus/MediaBrowser.Plugins.VuPlus.csproj new file mode 100644 index 0000000..2394129 --- /dev/null +++ b/MediaBrowser.Plugins.VuPlus/MediaBrowser.Plugins.VuPlus.csproj @@ -0,0 +1,21 @@ + + + + netstandard2.0;net46 + 3.1.0.0 + 3.1.0.0 + + + + + + + + + + + + + + + diff --git a/src/Plugin.cs b/MediaBrowser.Plugins.VuPlus/Plugin.cs similarity index 90% rename from src/Plugin.cs rename to MediaBrowser.Plugins.VuPlus/Plugin.cs index 6d7ad80..3c61780 100644 --- a/src/Plugin.cs +++ b/MediaBrowser.Plugins.VuPlus/Plugin.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Plugins; @@ -39,6 +40,12 @@ namespace MediaBrowser.Plugins.VuPlus } } + private Guid _id = new Guid("9564ac10-af23-39bc-449f-624f23cfa48f"); + public override Guid Id + { + get { return _id; } + } + /// /// Gets the instance. /// diff --git a/src/.nuget/NuGet.Config b/src/.nuget/NuGet.Config deleted file mode 100644 index 67f8ea0..0000000 --- a/src/.nuget/NuGet.Config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/.nuget/NuGet.exe b/src/.nuget/NuGet.exe deleted file mode 100644 index 9f8781d..0000000 Binary files a/src/.nuget/NuGet.exe and /dev/null differ diff --git a/src/.nuget/NuGet.targets b/src/.nuget/NuGet.targets deleted file mode 100644 index 3f8c37b..0000000 --- a/src/.nuget/NuGet.targets +++ /dev/null @@ -1,144 +0,0 @@ - - - - $(MSBuildProjectDirectory)\..\ - - - false - - - false - - - true - - - false - - - - - - - - - - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - - - - - $(SolutionDir).nuget - - - - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - - - - $(MSBuildProjectDirectory)\packages.config - $(PackagesProjectConfig) - - - - - $(NuGetToolsPath)\NuGet.exe - @(PackageSource) - - "$(NuGetExePath)" - mono --runtime=v4.0.30319 "$(NuGetExePath)" - - $(TargetDir.Trim('\\')) - - -RequireConsent - -NonInteractive - - "$(SolutionDir) " - "$(SolutionDir)" - - - $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) - $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - - - - RestorePackages; - $(BuildDependsOn); - - - - - $(BuildDependsOn); - BuildPackage; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Helpers/EncryptionHelper.cs b/src/Helpers/EncryptionHelper.cs deleted file mode 100644 index ecca2cd..0000000 --- a/src/Helpers/EncryptionHelper.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Security.Cryptography; -using System.Text; - -namespace MediaBrowser.Plugins.VuPlus.Helpers -{ - public static class EncryptionHelper - { - public static string GetMd5Hash(string value) - { - HashAlgorithm hashAlgorithm = HashAlgorithm.Create("MD5"); - - if (hashAlgorithm != null) - { - byte[] hashValue = hashAlgorithm.ComputeHash(new UTF8Encoding().GetBytes(value)); - //Bit convertor return the byte to string as all caps hex values seperated by "-" - return BitConverter.ToString(hashValue).Replace("-", "").ToLowerInvariant(); - } - - return string.Empty; - } - } -} diff --git a/src/Helpers/XmlHelper.cs b/src/Helpers/XmlHelper.cs deleted file mode 100644 index baab916..0000000 --- a/src/Helpers/XmlHelper.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Xml; - -namespace MediaBrowser.Plugins.VuPlus.Helpers -{ - public static class XmlHelper - { - public static XmlNode GetSingleNode(string input, string xPath) - { - var xml = new XmlDocument(); - xml.LoadXml(input); - - return xml.SelectSingleNode(xPath); - } - - public static XmlNodeList GetMultipleNodes(string input, string xPath) - { - var xml = new XmlDocument(); - xml.LoadXml(input); - - return xml.SelectNodes(xPath); - } - } -} diff --git a/src/MediaBrowser.Plugins.VuPlus.csproj b/src/MediaBrowser.Plugins.VuPlus.csproj deleted file mode 100644 index 59f2c33..0000000 --- a/src/MediaBrowser.Plugins.VuPlus.csproj +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Debug - AnyCPU - {815AB3F4-6B55-4FC4-9441-9297A3A116CB} - Library - Properties - MediaBrowser.Plugins.VuPlus - MediaBrowser.Plugins.VuPlus - v4.5 - 512 - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Common.dll - True - - - packages\MediaBrowser.Server.Core.3.0.680\lib\net45\MediaBrowser.Controller.dll - True - - - packages\MediaBrowser.Common.3.0.680\lib\net45\MediaBrowser.Model.dll - True - - - - - - - - - - - - Properties\SharedVersion.cs - - - - - - - - - - - - - - - Designer - - - - - - xcopy "$(TargetPath)" "$(SolutionDir)\..\..\Emby.dev\ProgramData-Server\Plugins\" /y - - - \ No newline at end of file diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs deleted file mode 100644 index a331800..0000000 --- a/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("MediaBrowser.Plugins.VuPlus")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MediaBrowser.Plugins.VuPlus")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("9564ac10-af23-39bc-449f-624f23cfa48f")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// - diff --git a/src/packages.config b/src/packages.config deleted file mode 100644 index cf5667d..0000000 --- a/src/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ 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 deleted file mode 100644 index c4dd294..0000000 Binary files a/src/packages/MediaBrowser.Common.3.0.680/MediaBrowser.Common.3.0.680.nupkg and /dev/null 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 deleted file mode 100644 index 1769d1e..0000000 Binary files a/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Common.dll and /dev/null 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 deleted file mode 100644 index b529e75..0000000 Binary files a/src/packages/MediaBrowser.Common.3.0.680/lib/net45/MediaBrowser.Model.dll and /dev/null 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 deleted file mode 100644 index b529e75..0000000 Binary files a/src/packages/MediaBrowser.Common.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Model.dll and /dev/null 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 deleted file mode 100644 index 2c71b89..0000000 Binary files a/src/packages/MediaBrowser.Server.Core.3.0.680/MediaBrowser.Server.Core.3.0.680.nupkg and /dev/null 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 deleted file mode 100644 index 391e6d7..0000000 Binary files a/src/packages/MediaBrowser.Server.Core.3.0.680/lib/net45/MediaBrowser.Controller.dll and /dev/null 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 deleted file mode 100644 index 391e6d7..0000000 Binary files a/src/packages/MediaBrowser.Server.Core.3.0.680/lib/portable-net45+win8+wpa81/MediaBrowser.Controller.dll and /dev/null differ diff --git a/src/packages/repositories.config b/src/packages/repositories.config deleted file mode 100644 index 0dec135..0000000 --- a/src/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file