using System; using System.Collections.Generic; using Jellyfin.Plugin.Simkl.Configuration; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Plugins; using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Serialization; namespace Jellyfin.Plugin.Simkl { /// /// SIMKL tracker. /// public class SimklPlugin : BasePlugin, IHasWebPages { /// /// Initializes a new instance of the class. /// /// Instance of the interface. /// Instance of the interface. public SimklPlugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) : base(applicationPaths, xmlSerializer) { Instance = this; } /// /// Gets the current instance of the plugin. /// public static SimklPlugin? Instance { get; private set; } /// public override Guid Id => new Guid("07CAEF58-A94B-4211-A62C-F9774E04EBDB"); /// public override string Name => "Simkl"; /// public override string Description => "Scrobble your watched Movies, TV Shows and Anime to Simkl and share your progress with friends!"; /// public IEnumerable GetPages() { yield return new PluginPageInfo { Name = Name, EmbeddedResourcePath = GetType().Namespace + ".Configuration.configPage.html" }; } } }