Skip to content

Commit

Permalink
Fix player save delay.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalton3 committed Sep 18, 2019
1 parent 5c2f8f9 commit f9c2945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plex_mpv_shim/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def update(self):
if float(position)/float(duration) >= COMPLETE_PERCENT:
log.info("PlayerManager::update setting media as watched")
self._video.set_played()
elif position > settings.progress_save_delay:
elif self._player.playback_time > settings.progress_save_delay:
log.info("PlayerManager::update updating media position")
self._video.update_position(position)
self.last_update.restart()
Expand Down

0 comments on commit f9c2945

Please sign in to comment.