Skip to content

Commit

Permalink
Fix new resume details not being saved in plugin local playback history
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Sep 20, 2024
1 parent 2e08d2a commit f80a9ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ def run(self):
status=(segment_end, segment_end, segment_end, 'stopped'),
)
if use_local_history:
self._context.get_playback_history().update_item(self.video_id,
play_data)
self._context.get_playback_history().set_item(self.video_id,
play_data)

self._context.send_notification(PLAYBACK_STOPPED, self.playback_data)
self._context.log_debug('Playback stopped [{video_id}]:'
Expand Down

0 comments on commit f80a9ed

Please sign in to comment.