Implemented a system that will remove common sort prefixes. Disabled by default.
This commit is contained in:
parent
e5d949161e
commit
1044c78bd2
16 changed files with 4097 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue