Only check non-liberated books when doing scan remove books.
This commit is contained in:
parent
1ae5f99bf0
commit
5e145846bd
1 changed files with 4 additions and 1 deletions
|
|
@ -119,7 +119,10 @@ namespace LibationWinForms.GridView
|
|||
return;
|
||||
|
||||
var allBooks = productsGrid.GetAllBookEntries();
|
||||
var lib = allBooks.Select(lbe => lbe.LibraryBook);
|
||||
var lib = allBooks
|
||||
.Select(lbe => lbe.LibraryBook)
|
||||
.Where(lb => !lb.Book.HasLiberated());
|
||||
|
||||
var removedBooks = await LibraryCommands.FindInactiveBooks(Login.WinformLoginChoiceEager.ApiExtendedFunc, lib, accounts);
|
||||
|
||||
var removable = allBooks.Where(lbe => removedBooks.Any(rb => rb.Book.AudibleProductId == lbe.AudibleProductId)).ToList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue