opt: make heartbeat when changing episode

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-05 18:26:49 +08:00
parent 78180a1dd1
commit 8ae92b859f
5 changed files with 66 additions and 41 deletions

View File

@@ -558,6 +558,8 @@ class VideoIntroController extends GetxController
Future changeSeasonOrbangu(epid, bvid, cid, aid, cover) async {
// 重新获取视频资源
final videoDetailCtr = Get.find<VideoDetailController>(tag: heroTag)
..makeHeartBeat()
..playedTime = null
..updateMediaListHistory(aid)
..vttSubtitlesIndex = null
..savedDanmaku = null