feat: add Book subtitle capturing so TitleShort reflects titles better

This commit is contained in:
Alanoll 2023-06-26 12:18:15 -05:00
parent 74ce408c8b
commit 2195574422
9 changed files with 482 additions and 9 deletions

View file

@ -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; }