New: Send publisher and language to calibre

pull/422/head
ta264 4 years ago
parent ba92586b8b
commit 9139113d14

@ -151,6 +151,8 @@ namespace NzbDrone.Core.Books.Calibre
Authors = new List<string> { file.Author.Value.Name },
Cover = image,
PubDate = book.ReleaseDate,
Publisher = edition.Publisher,
Languages = edition.Language,
Comments = edition.Overview,
Rating = edition.Ratings.Value * 2,
Identifiers = new Dictionary<string, string>

@ -18,6 +18,8 @@ namespace NzbDrone.Core.Books.Calibre
public string Cover { get; set; }
[JsonProperty("pubdate")]
public DateTime? PubDate { get; set; }
public string Publisher { get; set; }
public string Languages { get; set; }
public string Comments { get; set; }
public decimal Rating { get; set; }
public Dictionary<string, string> Identifiers { get; set; }

Loading…
Cancel
Save