fix: jump last episodes

This commit is contained in:
shinya
2025-07-29 19:36:11 +08:00
parent 8972e1697a
commit 10f2dc1904
3 changed files with 10 additions and 3 deletions

View File

@@ -1 +1 @@
20250729184823
20250729193611

View File

@@ -1397,7 +1397,14 @@ function PlayPageClient() {
duration > 0 &&
currentTime > skipConfigRef.current.outro_time
) {
handleNextEpisode();
if (
currentEpisodeIndexRef.current <
(detailRef.current?.episodes?.length || 1) - 1
) {
handleNextEpisode();
} else {
artPlayerRef.current.pause();
}
artPlayerRef.current.notice.show = `已跳过片尾 (${formatTime(
skipConfigRef.current.outro_time
)})`;

View File

@@ -2,7 +2,7 @@
'use client';
const CURRENT_VERSION = '20250729184823';
const CURRENT_VERSION = '20250729193611';
// 版本检查结果枚举
export enum UpdateStatus {