diff --git a/example-plugin/.editorconfig b/Jellyfin.Plugin.Template/.editorconfig similarity index 100% rename from example-plugin/.editorconfig rename to Jellyfin.Plugin.Template/.editorconfig diff --git a/example-plugin/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Template/Configuration/PluginConfiguration.cs similarity index 67% rename from example-plugin/Configuration/PluginConfiguration.cs rename to Jellyfin.Plugin.Template/Configuration/PluginConfiguration.cs index 04175e5..3c38058 100644 --- a/example-plugin/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.Template/Configuration/PluginConfiguration.cs @@ -1,5 +1,6 @@ using MediaBrowser.Model.Plugins; -namespace Jellyfin.Plugin.ExamplePlugin.Configuration + +namespace Jellyfin.Plugin.Template.Configuration { public enum SomeOptions { @@ -9,10 +10,10 @@ namespace Jellyfin.Plugin.ExamplePlugin.Configuration public class PluginConfiguration : BasePluginConfiguration { //This is where you should store configurable settings your plugin might need. - public bool TrueFalseSetting {get; set;} - public int AnInteger {get; set;} - public string AString {get; set;} - public SomeOptions Options {get; set;} + public bool TrueFalseSetting { get; set; } + public int AnInteger { get; set; } + public string AString { get; set; } + public SomeOptions Options { get; set; } public PluginConfiguration() { Options = SomeOptions.AnotherOption; @@ -21,4 +22,4 @@ namespace Jellyfin.Plugin.ExamplePlugin.Configuration AString = "This is a string setting"; } } -} \ No newline at end of file +} diff --git a/Jellyfin.Plugin.Template/Configuration/configPage.html b/Jellyfin.Plugin.Template/Configuration/configPage.html new file mode 100644 index 0000000..e6166b1 --- /dev/null +++ b/Jellyfin.Plugin.Template/Configuration/configPage.html @@ -0,0 +1,75 @@ + + +
+ +