mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Add non-standard multi-value audio tag support (#12385)
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user