mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-01-29 16:21:25 -05:00
Allow re-adding completed queued items
This commit is contained in:
@@ -86,7 +86,7 @@ namespace LibationWinForms.ProcessQueue
|
||||
var entry = Queue.FirstOrDefault(b => b?.LibraryBook?.Book?.AudibleProductId == libraryBook.Book.AudibleProductId);
|
||||
if (entry == null)
|
||||
return false;
|
||||
else if (entry.Status is ProcessBookStatus.Cancelled or ProcessBookStatus.Failed)
|
||||
else if (entry.Status is ProcessBookStatus.Cancelled or ProcessBookStatus.Failed or ProcessBookStatus.Completed)
|
||||
return !Queue.RemoveCompleted(entry);
|
||||
else
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user