From 10f5f331d72dd19e6ca15a5b6341fef368034d9c Mon Sep 17 00:00:00 2001 From: mikiher Date: Sat, 20 Jul 2024 12:28:06 +0300 Subject: [PATCH] Fixes + add progress to m4b and embed tools --- client/components/ui/Btn.vue | 6 +- client/layouts/default.vue | 17 ++ client/pages/audiobook/_id/manage.vue | 37 ++-- client/store/tasks.js | 50 +++-- client/strings/en-us.json | 1 + server/managers/AbMergeManager.js | 185 +++++++----------- server/managers/AudioMetadataManager.js | 68 +++++-- server/objects/TrackProgressMonitor.js | 88 +++++++++ server/utils/ffmpegHelpers.js | 131 +++++++++++-- .../objects/TrackProgressMonitor.test.js | 95 +++++++++ test/server/utils/ffmpegHelpers.test.js | 63 +++--- 11 files changed, 530 insertions(+), 211 deletions(-) create mode 100644 server/objects/TrackProgressMonitor.js create mode 100644 test/server/objects/TrackProgressMonitor.test.js diff --git a/client/components/ui/Btn.vue b/client/components/ui/Btn.vue index 29b322f9..b4a2df01 100644 --- a/client/components/ui/Btn.vue +++ b/client/components/ui/Btn.vue @@ -10,7 +10,8 @@