mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-25 13:24:57 +02:00
New data model edit tracks page, match, quick match, clean out old files
This commit is contained in:
parent
be1e1e7ba0
commit
7d66f1eec9
68 changed files with 354 additions and 1529 deletions
|
@ -250,11 +250,11 @@ class User {
|
|||
return madeUpdates
|
||||
}
|
||||
|
||||
resetAudiobookProgress(audiobook) {
|
||||
if (!this.audiobooks || !this.audiobooks[audiobook.id]) {
|
||||
resetAudiobookProgress(libraryItem) {
|
||||
if (!this.audiobooks || !this.audiobooks[libraryItem.id]) {
|
||||
return false
|
||||
}
|
||||
return this.updateAudiobookData(audiobook.id, {
|
||||
return this.updateAudiobookData(libraryItem.id, {
|
||||
progress: 0,
|
||||
currentTime: 0,
|
||||
isRead: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue