New: Series file naming tokens

Closes #25
Closes #26
This commit is contained in:
ta264
2021-11-23 21:05:40 +00:00
parent 7c5188638f
commit a7c0eabb56
11 changed files with 122 additions and 5 deletions
@@ -37,12 +37,24 @@ namespace NzbDrone.Core.Organizer
}
};
var series = new Series
{
Title = "Series Title"
};
var seriesLink = new SeriesBookLink
{
Position = "1",
Series = series
};
_standardBook = new Book
{
Title = "The Book Title",
ReleaseDate = System.DateTime.Today,
Author = _standardAuthor,
AuthorMetadata = _standardAuthor.Metadata.Value
AuthorMetadata = _standardAuthor.Metadata.Value,
SeriesLinks = new List<SeriesBookLink> { seriesLink }
};
_standardEdition = new Edition