aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/LibraryOptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Configuration/LibraryOptions.cs')
-rw-r--r--MediaBrowser.Model/Configuration/LibraryOptions.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/LibraryOptions.cs b/MediaBrowser.Model/Configuration/LibraryOptions.cs
index 90ac377f4..04283cc9e 100644
--- a/MediaBrowser.Model/Configuration/LibraryOptions.cs
+++ b/MediaBrowser.Model/Configuration/LibraryOptions.cs
@@ -7,6 +7,8 @@ namespace MediaBrowser.Model.Configuration
{
public class LibraryOptions
{
+ private static readonly char[] _defaultTagDelimiters = ['/', '|', ';', '\\'];
+
public LibraryOptions()
{
TypeOptions = Array.Empty<TypeOptions>();
@@ -30,6 +32,11 @@ namespace MediaBrowser.Model.Configuration
PathInfos = Array.Empty<MediaPathInfo>();
EnableAutomaticSeriesGrouping = true;
SeasonZeroDisplayName = "Specials";
+
+ PreferNonstandardArtistsTag = false;
+ UseCustomTagDelimiters = false;
+ CustomTagDelimiters = _defaultTagDelimiters;
+ DelimiterWhitelist = Array.Empty<string>();
}
public bool Enabled { get; set; } = true;
@@ -113,6 +120,17 @@ namespace MediaBrowser.Model.Configuration
public string[] LyricFetcherOrder { get; set; }
+ [DefaultValue(false)]
+ public bool PreferNonstandardArtistsTag { get; set; }
+
+ [DefaultValue(false)]
+ public bool UseCustomTagDelimiters { get; set; }
+
+ [DefaultValue(typeof(LibraryOptions), nameof(_defaultTagDelimiters))]
+ public char[] CustomTagDelimiters { get; set; }
+
+ public string[] DelimiterWhitelist { get; set; }
+
public bool AutomaticallyAddToCollection { get; set; }
public EmbeddedSubtitleOptions AllowEmbeddedSubtitles { get; set; }