mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-12-03 10:34:04 +01:00
fix: Address review feedback - UI parity, soft-fail, token encryption, pagination, CLI wiring
This commit is contained in:
@@ -286,6 +286,7 @@ public class ProcessBookViewModel : ReactiveObject
|
||||
{
|
||||
processable.Begin += Processable_Begin;
|
||||
processable.Completed += Processable_Completed;
|
||||
processable.StatusUpdate += Processable_StatusUpdate;
|
||||
processable.StreamingProgressChanged += Streamable_StreamingProgressChanged;
|
||||
processable.StreamingTimeRemaining += Streamable_StreamingTimeRemaining;
|
||||
|
||||
@@ -303,6 +304,7 @@ public class ProcessBookViewModel : ReactiveObject
|
||||
{
|
||||
processable.Begin -= Processable_Begin;
|
||||
processable.Completed -= Processable_Completed;
|
||||
processable.StatusUpdate -= Processable_StatusUpdate;
|
||||
processable.StreamingProgressChanged -= Streamable_StreamingProgressChanged;
|
||||
processable.StreamingTimeRemaining -= Streamable_StreamingTimeRemaining;
|
||||
|
||||
@@ -372,6 +374,9 @@ public class ProcessBookViewModel : ReactiveObject
|
||||
Narrator = libraryBook.Book.NarratorNames;
|
||||
}
|
||||
|
||||
private void Processable_StatusUpdate(object? sender, string statusUpdate)
|
||||
=> LogInfo(statusUpdate);
|
||||
|
||||
private void Processable_Completed(object? sender, LibraryBook libraryBook)
|
||||
{
|
||||
if (sender is Processable processable)
|
||||
|
||||
Reference in New Issue
Block a user