mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-30 01:38:59 +01:00
Update server/objects/mediaTypes/Book.js
This commit is contained in:
parent
5d96b2cc6e
commit
4770be5a39
@ -439,7 +439,7 @@ class Book {
|
|||||||
|
|
||||||
includedAudioFiles.forEach((file) => {
|
includedAudioFiles.forEach((file) => {
|
||||||
if (file.duration) {
|
if (file.duration) {
|
||||||
let chapters = file.chapters?.map((c) => ({
|
const chapters = file.chapters?.map((c) => ({
|
||||||
...c,
|
...c,
|
||||||
id: c.id + currChapterId,
|
id: c.id + currChapterId,
|
||||||
start: c.start + currStartTime,
|
start: c.start + currStartTime,
|
||||||
|
Loading…
Reference in New Issue
Block a user