Fix:Session sync for streaming podcast episodes using incorrect duration #3560

This commit is contained in:
advplyr 2024-10-29 15:41:31 -05:00
parent 50fd659749
commit 6eba467b91

View File

@ -366,7 +366,7 @@ class PlaybackSessionManager {
libraryItemId: libraryItem.id,
episodeId: session.episodeId,
// duration no longer required (v2.15.1) but used if available
duration: syncData.duration || libraryItem.media.duration || 0,
duration: syncData.duration || session.duration || 0,
currentTime: syncData.currentTime,
progress: session.progress,
markAsFinishedTimeRemaining: library.librarySettings.markAsFinishedTimeRemaining,