using MediaBrowser.Model.Plugins; namespace Jellyfin.Plugin.JFVR; /// /// JFVR plugin configuration. Persisted by Jellyfin as XML under /// <config>/plugins/configurations/Jellyfin.Plugin.JFVR.xml, so it /// survives container recreation and Jellyfin upgrades. /// public class PluginConfiguration : BasePluginConfiguration { /// /// Gets or sets a value indicating whether the plugin rewrites the served /// index.html. When disabled the response is passed through untouched /// (the legacy injection, if any, is left alone too) but the bundle endpoint /// stays reachable. /// public bool Enabled { get; set; } = true; /// /// Gets or sets an optional URL used instead of the embedded bundle. Leave /// empty to serve ../JFVR/jfvr.js?v=<hash> from this plugin. /// public string ScriptUrlOverride { get; set; } = string.Empty; }