diff --git a/MediaBrowser.Common/Plugins/PluginManifest.cs b/MediaBrowser.Common/Plugins/PluginManifest.cs index 9c45e5d950..f938214293 100644 --- a/MediaBrowser.Common/Plugins/PluginManifest.cs +++ b/MediaBrowser.Common/Plugins/PluginManifest.cs @@ -13,68 +13,80 @@ namespace MediaBrowser.Common.Plugins /// /// Gets or sets the category of the plugin. /// + [JsonPropertyName("category")] public string Category { get; set; } = string.Empty; /// /// Gets or sets the changelog information. /// + [JsonPropertyName("changelog")] public string Changelog { get; set; } = string.Empty; /// /// Gets or sets the description of the plugin. /// + [JsonPropertyName("description")] public string Description { get; set; } = string.Empty; /// /// Gets or sets the Global Unique Identifier for the plugin. /// - [JsonPropertyName("Guid")] + [JsonPropertyName("guid")] public Guid Id { get; set; } /// /// Gets or sets the Name of the plugin. /// + [JsonPropertyName("name")] public string Name { get; set; } = string.Empty; /// /// Gets or sets an overview of the plugin. /// + [JsonPropertyName("overview")] public string Overview { get; set; } = string.Empty; /// /// Gets or sets the owner of the plugin. /// + [JsonPropertyName("owner")] public string Owner { get; set; } = string.Empty; /// /// Gets or sets the compatibility version for the plugin. /// + [JsonPropertyName("targetAbi")] public string TargetAbi { get; set; } = string.Empty; /// /// Gets or sets the timestamp of the plugin. /// + [JsonPropertyName("timestamp")] public DateTime Timestamp { get; set; } /// /// Gets or sets the Version number of the plugin. /// + [JsonPropertyName("version")] public string Version { get; set; } = string.Empty; /// /// Gets or sets a value indicating the operational status of this plugin. /// + [JsonPropertyName("status")] public PluginStatus Status { get; set; } /// /// Gets or sets a value indicating whether this plugin should automatically update. /// + [JsonPropertyName("autoUpdate")] public bool AutoUpdate { get; set; } = true; /// /// Gets or sets a value indicating whether this plugin has an image. /// Image must be located in the local plugin folder. /// + [JsonPropertyName("imagePath")] public string? ImagePath { get; set; } } }