mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
New: PartNumber and PartCount naming tokens
This commit is contained in:
@@ -87,6 +87,12 @@ class Naming extends Component {
|
||||
standardBookFormatErrors.push({ message: 'Single Book: Invalid Format' });
|
||||
}
|
||||
|
||||
if (examples.multiPartBookExample) {
|
||||
standardBookFormatHelpTexts.push(`Multi-part Book: ${examples.multiPartBookExample}`);
|
||||
} else {
|
||||
standardBookFormatErrors.push({ message: 'Multi-part Book: Invalid Format' });
|
||||
}
|
||||
|
||||
if (examples.authorFolderExample) {
|
||||
authorFolderFormatHelpTexts.push(`Example: ${examples.authorFolderExample}`);
|
||||
} else {
|
||||
|
||||
@@ -35,6 +35,14 @@ const fileNameTokens = [
|
||||
{
|
||||
token: '{Author.Name}.{Book.Title}.{Quality.Full}',
|
||||
example: 'Author.Name.Book.Title.MP3'
|
||||
},
|
||||
{
|
||||
token: '{Author Name} - {Book Title}{ (PartNumber)}',
|
||||
example: 'Author Name - Book Title (2)'
|
||||
},
|
||||
{
|
||||
token: '{Author Name} - {Book Title}{ (PartNumber/PartCount)}',
|
||||
example: 'Author Name - Book Title (2/10)'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user