mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 03:15:58 +02:00
Update media progress object to use unique id for podcast episodes
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user