feat: add Book subtitle capturing so TitleShort reflects titles better
This commit is contained in:
parent
74ce408c8b
commit
2195574422
9 changed files with 482 additions and 9 deletions
|
|
@ -8,7 +8,22 @@ namespace LibationFileManager
|
|||
{
|
||||
public string AudibleProductId { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Locale { get; set; }
|
||||
public string Subtitle { get; set; }
|
||||
public string TitleWithSubtitle
|
||||
{
|
||||
get
|
||||
{
|
||||
string text = Title?.Trim();
|
||||
string text2 = Subtitle?.Trim();
|
||||
if (string.IsNullOrWhiteSpace(text2))
|
||||
{
|
||||
return text;
|
||||
}
|
||||
|
||||
return text + ": " + text2;
|
||||
}
|
||||
}
|
||||
public string Locale { get; set; }
|
||||
public int? YearPublished { get; set; }
|
||||
|
||||
public IEnumerable<string> Authors { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue