mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-06 09:43:53 -08:00
feat(mpv): update episode progress timestamp
This commit is contained in:
@@ -95,7 +95,14 @@ class MpvPlayer(object):
|
||||
current_episode_number = (
|
||||
fastanime_runtime_state.provider_current_episode_number
|
||||
)
|
||||
config.update_watch_history(anime_id_anilist, str(current_episode_number))
|
||||
|
||||
# update local progress
|
||||
config.update_watch_history(
|
||||
anime_id_anilist,
|
||||
str(current_episode_number),
|
||||
start_time=self.last_stop_time,
|
||||
total_time=self.last_total_time,
|
||||
)
|
||||
# update episode progress
|
||||
if config.user and current_episode_number:
|
||||
AniList.update_anime_list(
|
||||
|
||||
Reference in New Issue
Block a user