mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-07-13 15:39:08 +00: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…
Reference in a new issue