Re-add completed audiobooks to queue (#1219)
This commit is contained in:
parent
5ab6c1fe70
commit
8aa157f2f6
4 changed files with 22 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ namespace LibationWinForms
|
|||
if (libraryBooks.Length == 1)
|
||||
{
|
||||
var item = libraryBooks[0];
|
||||
|
||||
//Remove this item from the queue if it's already present and completed.
|
||||
//Only do this when adding a single book at a time to prevent accidental
|
||||
//extra downloads when queueing in batches.
|
||||
processBookQueue1.RemoveCompleted(item);
|
||||
|
||||
if (item.Book.UserDefinedItem.BookStatus is LiberatedStatus.NotLiberated or LiberatedStatus.PartialDownload)
|
||||
{
|
||||
Serilog.Log.Logger.Information("Begin single book backup of {libraryBook}", item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue