mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-16 06:11:38 +00:00
Don't sync progress for finished content
-> Still has the potential issue of starting a listening session
This commit is contained in:
parent
3c406c12b4
commit
1522783034
6 changed files with 21 additions and 9 deletions
|
|
@ -173,7 +173,7 @@ class PlaybackSessionManager {
|
|||
}
|
||||
}
|
||||
const newPlaybackSession = new PlaybackSession()
|
||||
newPlaybackSession.setData(libraryItem, user, mediaPlayer, deviceInfo, userStartTime, episodeId)
|
||||
newPlaybackSession.setData(libraryItem, user, mediaPlayer, deviceInfo, userStartTime, userProgress.isFinished, episodeId)
|
||||
|
||||
if (libraryItem.mediaType === 'video') {
|
||||
if (shouldDirectPlay) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue