mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Update epub media progress update
This commit is contained in:
parent
916fd039ca
commit
f2baf3fafd
1 changed files with 4 additions and 0 deletions
|
@ -176,6 +176,10 @@ export default {
|
|||
},
|
||||
/** @param {string} location - CFI of the new location */
|
||||
relocated(location) {
|
||||
if (this.userMediaProgress?.ebookLocation === location.start.cfi) {
|
||||
return
|
||||
}
|
||||
|
||||
if (location.end.percentage) {
|
||||
this.updateProgress({
|
||||
ebookLocation: location.start.cfi,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue