Skip to content

Commit

Permalink
fix(plaxt): update viewOffset together with progress
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyXiang committed Mar 9, 2022
1 parent 72d3d1f commit 65084c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler/plex.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ func (c *PlexClient) syncTimelineWithPlaxt(r *http.Request, user *plexUser) {
if session.progress >= watchedThreshold {
// time would become 0 once a playback session was finished
progress = 100
viewOffset = session.metadata.Duration
} else if session.status != sessionUnplayed {
return
}
Expand Down

0 comments on commit 65084c5

Please sign in to comment.