增强追番订阅:关键词表达式、字幕组快捷、右键添加与缺集补搜
- 过滤/排除支持 & | (),兼容旧逗号语义 - 字幕组快捷单选填入;同名订阅拒绝重复 - 单集只下一次、缺集按「番名+补零集数」重搜 - VideoCard 管理员可添加追番;PlayRecord 增加 is_anime 及迁移
This commit is contained in:
@@ -6,6 +6,7 @@ import { AlertCircle, Cloud, Heart, Keyboard, Loader2, Router, Sparkles, X } fro
|
||||
import { useRouter, useSearchParams } from 'next/navigation';
|
||||
import { Suspense, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
import { isAnimeCategoryText } from '@/lib/anime-keyword-expr';
|
||||
import { getAuthInfoFromBrowserCookie } from '@/lib/auth';
|
||||
import {
|
||||
clearDanmakuCacheByTitle,
|
||||
@@ -6580,6 +6581,10 @@ function PlayPageClient() {
|
||||
total_time: Math.floor(duration),
|
||||
save_time: Date.now(),
|
||||
search_title: searchTitle,
|
||||
is_anime: isAnimeCategoryText(
|
||||
detailRef.current?.type_name,
|
||||
detailRef.current?.class
|
||||
),
|
||||
});
|
||||
|
||||
lastSavedPlayTimeRef.current = playTime;
|
||||
|
||||
Reference in New Issue
Block a user