diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index a8840744..708a7e0a 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -572,7 +572,7 @@ export default { if (data.error) { this.asinError = this.$getString(data.stringKey) } else { - console.log('Chapter data', data) + console.log('Chapter data', { ...data }) this.chapterData = this.removeBranding ? this.removeBrandingFromData(data) : data } }) @@ -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