mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 10:43:30 +01:00
Merge remote-tracking branch 'origin/master' into feature/EFUserData
This commit is contained in:
@@ -18,7 +18,7 @@ public static class LibraryOptionsExtension
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(options);
|
||||
|
||||
return options.CustomTagDelimiters.Select<string, char?>(x =>
|
||||
var delimiterList = options.CustomTagDelimiters.Select<string, char?>(x =>
|
||||
{
|
||||
var isChar = char.TryParse(x, out var c);
|
||||
if (isChar)
|
||||
@@ -27,6 +27,8 @@ public static class LibraryOptionsExtension
|
||||
}
|
||||
|
||||
return null;
|
||||
}).Where(x => x is not null).Select(x => x!.Value).ToArray();
|
||||
}).Where(x => x is not null).Select(x => x!.Value).ToList();
|
||||
delimiterList.Add('\0');
|
||||
return delimiterList.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,5 +38,5 @@ public class PlaylistCreationRequest
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the playlist is public.
|
||||
/// </summary>
|
||||
public bool? Public { get; set; } = true;
|
||||
public bool? Public { get; set; } = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user