mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-30 15:49:38 +00:00
Save Locations locally, add separate progress tracker
This commit is contained in:
parent
5078818295
commit
4d29ebd647
5 changed files with 23 additions and 15 deletions
|
|
@ -472,7 +472,7 @@ export default {
|
|||
return duration - this.userMediaProgress.currentTime
|
||||
},
|
||||
progressPercent() {
|
||||
return this.userMediaProgress ? Math.max(Math.min(1, this.userMediaProgress.progress), 0) : 0
|
||||
return this.userMediaProgress ? Math.max(Math.min(1, Math.max(this.userMediaProgress.progress || 0, this.userMediaProgress.ebookProgress || 0)), 0) : 0
|
||||
},
|
||||
userProgressStartedAt() {
|
||||
return this.userMediaProgress ? this.userMediaProgress.startedAt : 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue