aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-03-08 02:16:35 +0100
committerBond_009 <bond.009@outlook.com>2021-03-08 02:16:35 +0100
commit2e62c09f2e55b33c2ba8eeb97157495e2f8ab5a9 (patch)
tree41056ffaba994ee07b7f2a56cd1c3b05d5ca3cc4 /MediaBrowser.Model/Entities/VirtualFolderInfo.cs
parented7154db68f089cb8366aedaaeb93f1d5405251a (diff)
Fix casing CollectionType
Diffstat (limited to 'MediaBrowser.Model/Entities/VirtualFolderInfo.cs')
-rw-r--r--MediaBrowser.Model/Entities/VirtualFolderInfo.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs b/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
index ea3df3726..8fed392b9 100644
--- a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
+++ b/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
@@ -2,6 +2,7 @@
#pragma warning disable CS1591
using System;
+using System.Text.Json.Serialization;
using MediaBrowser.Model.Configuration;
namespace MediaBrowser.Model.Entities
@@ -35,6 +36,7 @@ namespace MediaBrowser.Model.Entities
/// Gets or sets the type of the collection.
/// </summary>
/// <value>The type of the collection.</value>
+ [JsonConverter(typeof(JsonLowerCaseConverter<CollectionTypeOptions?>))]
public CollectionTypeOptions? CollectionType { get; set; }
public LibraryOptions LibraryOptions { get; set; }