diff --git a/example-plugin/Configuration/PluginConfiguration.cs b/example-plugin/Configuration/PluginConfiguration.cs new file mode 100644 index 0000000..04175e5 --- /dev/null +++ b/example-plugin/Configuration/PluginConfiguration.cs @@ -0,0 +1,24 @@ +using MediaBrowser.Model.Plugins; +namespace Jellyfin.Plugin.ExamplePlugin.Configuration +{ + public enum SomeOptions + { + OneOption, + AnotherOption + } + 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 PluginConfiguration() + { + Options = SomeOptions.AnotherOption; + TrueFalseSetting = true; + AnInteger = 5; + AString = "This is a string setting"; + } + } +} \ No newline at end of file diff --git a/example-plugin/Configuration/configPage.html b/example-plugin/Configuration/configPage.html new file mode 100644 index 0000000..c94a318 --- /dev/null +++ b/example-plugin/Configuration/configPage.html @@ -0,0 +1,98 @@ + + + +
+ +