Skip to content

Commit 65084c5

Browse files
committed
fix(plaxt): update viewOffset together with progress
1 parent 72d3d1f commit 65084c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handler/plex.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ func (c *PlexClient) syncTimelineWithPlaxt(r *http.Request, user *plexUser) {
297297
if session.progress >= watchedThreshold {
298298
// time would become 0 once a playback session was finished
299299
progress = 100
300+
viewOffset = session.metadata.Duration
300301
} else if session.status != sessionUnplayed {
301302
return
302303
}

0 commit comments

Comments
 (0)