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