mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-31 00:05:27 +02:00
Update media progress object to use unique id for podcast episodes
This commit is contained in:
parent
3276b04256
commit
3a7cafbb95
2 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ class MediaProgress {
|
|||
}
|
||||
|
||||
setData(libraryItemId, progress, episodeId = null) {
|
||||
this.id = libraryItemId
|
||||
this.id = episodeId ? `${libraryItemId}-${episodeId}` : libraryItemId
|
||||
this.libraryItemId = libraryItemId
|
||||
this.episodeId = episodeId
|
||||
this.duration = progress.duration || 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue