mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-27 10:14:57 +00:00
New: Author SortName token
This commit is contained in:
@@ -45,6 +45,8 @@ const authorTokens = [
|
||||
|
||||
{ token: '{Author CleanName}', example: 'Author Name' },
|
||||
|
||||
{ token: '{Author SortName}', example: 'Name, Author' },
|
||||
|
||||
{ token: '{Author Disambiguation}', example: 'Disambiguation' }
|
||||
];
|
||||
|
||||
|
||||
@@ -233,6 +233,7 @@ namespace NzbDrone.Core.Organizer
|
||||
tokenHandlers["{Author Name}"] = m => author.Name;
|
||||
tokenHandlers["{Author CleanName}"] = m => CleanTitle(author.Name);
|
||||
tokenHandlers["{Author NameThe}"] = m => TitleThe(author.Name);
|
||||
tokenHandlers["{Author SortName}"] = m => author.Name.ToSortName();
|
||||
|
||||
if (author.Metadata.Value.Disambiguation != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user