using System; 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; namespace MediaBrowser.Plugins.VuPlus { /// /// Class Plugin /// public class Plugin : BasePlugin, IHasWebPages { public Plugin( IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer ) : base(applicationPaths, xmlSerializer) { Instance = this; } /// /// Gets the name of the plugin /// /// The name. public override string Name => "VuPlus"; /// /// Gets the description. /// /// The description. public override string Description => "Provides live tv using Vu+ / Enigma2 pvr as a back-end."; private Guid _id = new Guid("9564ac10-af23-39bc-449f-624f23cfa48f"); public override Guid Id => _id; /// /// Gets the instance. /// /// 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" } }; } } }