mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-20 04:38:30 +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 */
|
||||
relocated(location) {
|
||||
if (this.userMediaProgress?.ebookLocation === location.start.cfi) {
|
||||
return
|
||||
}
|
||||
|
||||
if (location.end.percentage) {
|
||||
this.updateProgress({
|
||||
ebookLocation: location.start.cfi,
|
||||
|
|
|
|||
Loading…
Reference in a new issue