mirror of
https://github.com/Readarr/Readarr
synced 2025-12-15 21:02:40 +01:00
New: Send publisher and language to calibre
This commit is contained in:
parent
ba92586b8b
commit
9139113d14
2 changed files with 4 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ public void SetFields(BookFile file, CalibreSettings settings)
|
|||
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 @@ public class CalibreChanges
|
|||
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…
Reference in a new issue