Merge remote-tracking branch 'josh-vin/master' into feat/ChaptersEnhancments

This commit is contained in:
Josh Vincent 2025-08-04 18:32:28 -06:00
commit 2773c8c4a9
22 changed files with 338 additions and 59 deletions

View file

@ -756,7 +756,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
}
})
@ -793,6 +793,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