mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 19:04:57 +02:00
Fix initialize currentTime and ebookProgress for MediaProgress
This commit is contained in:
parent
9f6bfeb839
commit
be2d317325
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ class MediaProgress {
|
||||||
this.episodeId = progress.episodeId
|
this.episodeId = progress.episodeId
|
||||||
this.duration = progress.duration || 0
|
this.duration = progress.duration || 0
|
||||||
this.progress = progress.progress
|
this.progress = progress.progress
|
||||||
this.currentTime = progress.currentTime
|
this.currentTime = progress.currentTime || 0
|
||||||
this.isFinished = !!progress.isFinished
|
this.isFinished = !!progress.isFinished
|
||||||
this.hideFromContinueListening = !!progress.hideFromContinueListening
|
this.hideFromContinueListening = !!progress.hideFromContinueListening
|
||||||
this.ebookLocation = progress.ebookLocation || null
|
this.ebookLocation = progress.ebookLocation || null
|
||||||
this.ebookProgress = progress.ebookProgress
|
this.ebookProgress = progress.ebookProgress || null
|
||||||
this.lastUpdate = progress.lastUpdate
|
this.lastUpdate = progress.lastUpdate
|
||||||
this.startedAt = progress.startedAt
|
this.startedAt = progress.startedAt
|
||||||
this.finishedAt = progress.finishedAt || null
|
this.finishedAt = progress.finishedAt || null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue