aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-03-08 21:23:14 +0100
committerGitHub <noreply@github.com>2021-03-08 21:23:14 +0100
commit90cdd1345dde15f987550c57c12fcd8e57af0de1 (patch)
treefdd25759a5174721c16b840895bb55f3c086f31c /MediaBrowser.Model/Entities/VirtualFolderInfo.cs
parent480dd66428e2a8bf76c0747256f2e99b15aae212 (diff)
parent54f81c4da484e3bb3d62669f0216c2a3a239166d (diff)
Merge pull request #5407 from Bond-009/hack
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 ea3df37265..8fed392b9d 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; }