Skip to content

Commit

Permalink
Fix:Session sync for streaming podcast episodes using incorrect durat…
Browse files Browse the repository at this point in the history
…ion #3560
  • Loading branch information
advplyr committed Oct 29, 2024
1 parent 50fd659 commit 6eba467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/managers/PlaybackSessionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6eba467

Please sign in to comment.