Implemented a system that will remove common sort prefixes. Disabled by default.

This commit is contained in:
Joseph Milazzo 2025-06-29 10:58:40 -05:00
parent e5d949161e
commit 1044c78bd2
16 changed files with 4097 additions and 3 deletions

View file

@ -624,6 +624,8 @@ public class LibraryController : BaseApiController
library.AllowScrobbling = dto.AllowScrobbling;
library.AllowMetadataMatching = dto.AllowMetadataMatching;
library.EnableMetadata = dto.EnableMetadata;
library.RemovePrefixForSortName = dto.RemovePrefixForSortName;
library.LibraryFileTypes = dto.FileGroupTypes
.Select(t => new LibraryFileTypeGroup() {FileTypeGroup = t, LibraryId = library.Id})
.Distinct()