mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-08 05:45:26 +02:00
Update epub media progress update
This commit is contained in:
@@ -176,6 +176,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,
|
||||||
|
|||||||
Reference in New Issue
Block a user