mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-14 00:39:37 +08:00
fix: jump last episodes
This commit is contained in:
@@ -1 +1 @@
|
|||||||
20250729184823
|
20250729193611
|
||||||
@@ -1397,7 +1397,14 @@ function PlayPageClient() {
|
|||||||
duration > 0 &&
|
duration > 0 &&
|
||||||
currentTime > skipConfigRef.current.outro_time
|
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(
|
artPlayerRef.current.notice.show = `已跳过片尾 (${formatTime(
|
||||||
skipConfigRef.current.outro_time
|
skipConfigRef.current.outro_time
|
||||||
)})`;
|
)})`;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
const CURRENT_VERSION = '20250729184823';
|
const CURRENT_VERSION = '20250729193611';
|
||||||
|
|
||||||
// 版本检查结果枚举
|
// 版本检查结果枚举
|
||||||
export enum UpdateStatus {
|
export enum UpdateStatus {
|
||||||
|
|||||||
Reference in New Issue
Block a user