From e54571f011880b8cd8e9693eb952f9dc8e40fe40 Mon Sep 17 00:00:00 2001 From: Chris Campanile Date: Thu, 31 Jul 2025 16:48:05 -0700 Subject: [PATCH] Including total durations into the de-branding from #4226 as warning message is always present currently --- client/pages/audiobook/_id/chapters.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index a8840744..4f261f16 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -609,6 +609,11 @@ export default { data.chapters.pop() } + // Remove Branding durations from Runtime totals + data.runtimeLengthMs -= introDuration + outroDuration + data.runtimeLengthSec = Math.floor(data.runtimeLengthMs / 1000) + console.log('Brandless Chapter data', data) + return data } catch { return data