mirror of
https://github.com/Readarr/Readarr
synced 2025-12-14 04:13:37 +01:00
Fixed: Correctly force add duplicate books
This commit is contained in:
parent
0d3cd24fb2
commit
0cf7953cab
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ public static string GetOriginalFormat(Dictionary<string, CalibreBookFormat> for
|
|||
public CalibreImportJob AddBook(BookFile book, CalibreSettings settings)
|
||||
{
|
||||
var jobid = (int)(DateTime.UtcNow.Ticks % 1000000000);
|
||||
var addDuplicates = true;
|
||||
var addDuplicates = 1;
|
||||
var path = book.Path;
|
||||
var filename = $"$dummy{Path.GetExtension(path)}";
|
||||
var body = File.ReadAllBytes(path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue