Merge branch 'id2'
# Conflicts: # packages/adapters/src/tmdb/index.ts
This commit is contained in:
commit
f30600eafc
35 files changed
+13649
-92
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# tmdb
|
||||
|
||||
TMDB v3 查询:多语言搜索(默认 zh-CN + en-US,按 ID 合并标题)、`searchMulti`、详情(别名 alternative_titles、译名 translations、外部 ID、季列表)、季集列表;内存 LRU + TTL 缓存(默认 1024 条/24h,空结果 30min)与并发合并,并发/间隔限流,429 按 Retry-After 退避。输出归一化候选 `MetadataCandidate`(provider `tmdb`,entityType,externalId,titles,year,aliases,seasons?)。`matchTmdb`/`matchTmdbMulti` 迁移 MoviePilot 的匹配链(名称规范化后完全相等、年份 ±1、季年份优先、别名/译名回退)。错误为 `TmdbError`(auth/network/timeout/notfound/rate/protocol),不会把查询失败当成无结果。
|
||||
TMDB v3 查询:多语言搜索(默认 zh-CN + en-US,按 ID 合并标题)、`searchMulti`、详情(别名 alternative_titles、译名 translations、外部 ID、季列表)、季集列表;内存 LRU + TTL 缓存(默认 1024 条/24h,空结果 30min)与并发合并,并发/间隔限流,429 按 Retry-After 退避。输出归一化候选 `MetadataCandidate`(provider `tmdb`,entityType,externalId,titles,year,aliases,seasons?)。`matchTmdb`/`matchTmdbMulti` 迁移 MoviePilot 的匹配链(名称规范化后完全相等、年份 ±1、季年份优先、别名/译名回退)。`recallTmdbCandidates` 是身份识别的候选召回(ID-2,对照 MP 名称顺序与别名回退:中文名/英文名按类型单语言搜索,标题对不上的按年份相近度拉前几个详情比对别名/译名),打分交给 `domain.resolveIdentity`。错误为 `TmdbError`(auth/network/timeout/notfound/rate/protocol),不会把查询失败当成无结果。
|
||||
|
||||
仅对 mock 与官方 API 文档验证,未连接真实实例。
|
||||
@@ -2,4 +2,5 @@ export { RequestLimiter, TtlLruCache } from "./cache.ts";
|
||||
export * from "./client.ts";
|
||||
export * from "./details.ts";
|
||||
export * from "./match.ts";
|
||||
export * from "./recall.ts";
|
||||
export * from "./translations.ts";
|
||||
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* 身份识别的 TMDB 候选召回(ID-2),对照 MoviePilot TheMovieDbModule._prepare_search_names + TmdbApi 的
|
||||
* __search_movie_by_name / __search_tv_by_name / _candidate_resolution:
|
||||
* - 名称顺序 [中文名, 英文名](MP:cn_name → 简体 cn_name → en_name);
|
||||
* - 按类型搜索(剧集线索只搜 tv,否则 movie + tv),单语言(首选语言,与 MP 相同);
|
||||
* - 搜索结果的标题/原标题都对不上名称时,按年份相近度取前几个拉详情,用别名 + 译名比对(MP 对全部候选逐个拉详情,
|
||||
* 这里设上限,打分交给 domain.resolveIdentity)。
|
||||
* 与 MP 的差异:MP 在第一个命中处短路,这里收集候选池交给证据打分(同名多候选 → 进待识别池而不是取第一个)。
|
||||
*/
|
||||
import { type MediaEntityType, type MetadataCandidate, type TmdbClient, TmdbError } from "./client.ts";
|
||||
import { normalizeTitleForCompare } from "./match.ts";
|
||||
|
||||
export interface TmdbRecallInput {
|
||||
/** 查询名称,按优先级(中文名在前);空值与重复会被忽略 */
|
||||
names: (string | null | undefined)[];
|
||||
/** 有剧集线索时只搜 tv */
|
||||
type?: MediaEntityType;
|
||||
year?: number;
|
||||
/** 最多用几个名称搜索,默认 2 */
|
||||
maxNames?: number;
|
||||
/** 最多为几个候选拉详情(别名比对),默认 3 */
|
||||
maxDetails?: number;
|
||||
/** 候选池上限,默认 20 */
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
const yearDistance = (c: MetadataCandidate, year: number | undefined, type: MediaEntityType): number => {
|
||||
if (year === undefined || c.year === null) return 50;
|
||||
const d = year - c.year;
|
||||
// 剧集:发布标题的年份可能是后续季的年份(晚于首播)
|
||||
if (type === "tv" && d > 0) return Math.min(d, 5);
|
||||
return Math.abs(d);
|
||||
};
|
||||
|
||||
export async function recallTmdbCandidates(tmdb: TmdbClient, input: TmdbRecallInput): Promise<MetadataCandidate[]> {
|
||||
const names: string[] = [];
|
||||
for (const n of input.names) {
|
||||
const t = n?.trim();
|
||||
if (t && !names.some((x) => normalizeTitleForCompare(x) === normalizeTitleForCompare(t))) names.push(t);
|
||||
}
|
||||
const types: MediaEntityType[] = input.type ? [input.type] : ["movie", "tv"];
|
||||
const seen = new Map<string, MetadataCandidate>();
|
||||
for (const name of names.slice(0, input.maxNames ?? 2)) {
|
||||
for (const type of types) {
|
||||
for (const m of await tmdb.searchRaw(type, name)) {
|
||||
const k = `${m.entityType}:${m.externalId}`;
|
||||
if (!seen.has(k)) seen.set(k, m);
|
||||
}
|
||||
}
|
||||
}
|
||||
const pool = [...seen.values()];
|
||||
const keys = new Set(names.map(normalizeTitleForCompare));
|
||||
const direct = (c: MetadataCandidate) =>
|
||||
[c.title, c.originalTitle].some((t) => !!t && keys.has(normalizeTitleForCompare(t)));
|
||||
// 年份相容(±1,剧集允许季年份更晚)的候选按年份相近度排序:标题对不上的拉详情比对别名;
|
||||
// 直接命中的前两个也拉详情(自动绑定本来就要取详情),看另一种文字的名称能否佐证(中文名命中一部、英文名命中另一部时靠它区分)
|
||||
const compatible = pool
|
||||
.filter((c) => yearDistance(c, input.year, c.entityType) <= (c.entityType === "tv" ? 5 : 1))
|
||||
.sort((a, b) => yearDistance(a, input.year, a.entityType) - yearDistance(b, input.year, b.entityType));
|
||||
const directs = compatible.filter(direct);
|
||||
const needDetail = [...directs.slice(0, 2), ...compatible.filter((c) => !direct(c)).slice(0, input.maxDetails ?? 3)];
|
||||
for (const c of needDetail) {
|
||||
try {
|
||||
seen.set(`${c.entityType}:${c.externalId}`, await tmdb.details(c.entityType, c.externalId));
|
||||
} catch (e) {
|
||||
// 对照 MP get_info 失败返回 None 后继续:详情只用于补别名,取不到保留搜索结果
|
||||
if (!(e instanceof TmdbError)) throw e;
|
||||
}
|
||||
}
|
||||
return [...seen.values()].slice(0, input.limit ?? 20);
|
||||
}
|
||||
@@ -1,8 +1,11 @@
|
||||
export {
|
||||
DEFAULT_MATCH_WEIGHTS,
|
||||
type EvidenceLevel,
|
||||
type IdentityCandidate,
|
||||
type IdentityResolution,
|
||||
type MatchOptions,
|
||||
type MatchWeights,
|
||||
poolGenericNames,
|
||||
queryTitles,
|
||||
type RankedCandidate,
|
||||
rankCandidates,
|
||||
@@ -12,5 +15,6 @@ export {
|
||||
type TypeMatch,
|
||||
type YearMatch,
|
||||
} from "./match.ts";
|
||||
export { normalizeTitle, stripSeasonSuffix } from "./normalize.ts";
|
||||
export { isGenericAliasName, normalizeTitle, stripSeasonSuffix } from "./normalize.ts";
|
||||
export { sequelNumbers } from "./sequel.ts";
|
||||
export { TRAD_TO_SIMP, toSimplified } from "./zh-map.ts";
|
||||
@@ -1,16 +1,21 @@
|
||||
import type { Confidence, ParsedRelease } from "../release-parser/types.ts";
|
||||
import { normalizeTitle } from "./normalize.ts";
|
||||
import { isGenericAliasName, normalizeTitle } from "./normalize.ts";
|
||||
import { sequelNumbers } from "./sequel.ts";
|
||||
|
||||
export interface IdentityCandidate {
|
||||
/** tmdb / local(本地别名召回)/ 其他提供方 */
|
||||
provider: string;
|
||||
entityType: "movie" | "tv";
|
||||
externalId: string;
|
||||
/** 主标题与原标题(以及其他语言的本地化标题);精确命中这里算 exact */
|
||||
titles: string[];
|
||||
year?: number;
|
||||
/** 别名 / 译名(TMDB alternative_titles + translations、本地登记的别名);命中这里算 alias */
|
||||
aliases: string[];
|
||||
/** 剧集各季首播年份(发布标题里的年份可能是季年份) */
|
||||
seasonYears?: number[];
|
||||
/** 剧集已有的季号(取了详情才有;用于季号区分) */
|
||||
seasonNumbers?: number[];
|
||||
/** local 候选:本地实体 UUID 及其已登记的外部映射 */
|
||||
localEntityId?: string;
|
||||
linkedExternalIds?: { provider: string; id: string }[];
|
||||
@@ -21,6 +26,39 @@ export type TitleMatch = "exact" | "alias" | "partial" | "none";
|
||||
export type YearMatch = "exact" | "season_year" | "within_tolerance" | "unknown" | "mismatch";
|
||||
export type TypeMatch = "match" | "mismatch" | "unknown";
|
||||
|
||||
/**
|
||||
* 评分权重表(ID-2,可配置):各项证据的分值相加,按阈值落到证据等级;硬规则(年份不符、续作序号冲突、
|
||||
* 标题无关)直接拒绝,部分包含 / 通用词只靠别名 / 别名命中缺少佐证 / 类型冲突封顶 needs_confirm。
|
||||
* 分值只用于定级与同等级排序,不是概率。默认值下 v0.1 的规则式判定不变(identity.test.ts),
|
||||
* 在此基础上加了第二语言名称、续作序号、季号三项。
|
||||
*/
|
||||
export interface MatchWeights {
|
||||
title: Record<TitleMatch, number>;
|
||||
year: Record<Exclude<YearMatch, "mismatch">, number>;
|
||||
/** 年份未知,但剧集季号是明写的且类型一致 */
|
||||
tvSeasonNoYear: number;
|
||||
/** 中文名与英文名(不同文字)各自命中,每多一种加一次 */
|
||||
secondName: number;
|
||||
/** 续作 / 章节 / Part 序号一致 */
|
||||
sequelMatch: number;
|
||||
/** 明写的季号在候选的季列表里 / 不在 */
|
||||
seasonMatch: number;
|
||||
seasonMissing: number;
|
||||
/** 分值 ≥ 阈值即达到该等级 */
|
||||
thresholds: { rule_confirmed: number; multi_evidence: number; needs_confirm: number };
|
||||
}
|
||||
|
||||
export const DEFAULT_MATCH_WEIGHTS: MatchWeights = {
|
||||
title: { exact: 4, alias: 3, partial: 1, none: 0 },
|
||||
year: { exact: 3, season_year: 3, within_tolerance: 2, unknown: 0 },
|
||||
tvSeasonNoYear: 2,
|
||||
secondName: 1,
|
||||
sequelMatch: 1,
|
||||
seasonMatch: 0,
|
||||
seasonMissing: -3,
|
||||
thresholds: { rule_confirmed: 7, multi_evidence: 5, needs_confirm: 1 },
|
||||
};
|
||||
|
||||
export interface RankedCandidate {
|
||||
candidate: IdentityCandidate;
|
||||
level: EvidenceLevel;
|
||||
@@ -28,11 +66,46 @@ export interface RankedCandidate {
|
||||
yearMatch: YearMatch;
|
||||
typeMatch: TypeMatch;
|
||||
evidence: string[];
|
||||
/** 排序用信号(分值不是概率,只在同等级间比较) */
|
||||
signals: {
|
||||
points: number;
|
||||
/** 命中(精确或别名)的名称文字种数:中文 / 拉丁 */
|
||||
nameLangs: number;
|
||||
sequel: "match" | "conflict" | "none";
|
||||
genericName: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface MatchOptions {
|
||||
/** 年份容差,默认 ±1 */
|
||||
yearTolerance?: number;
|
||||
/** 覆盖部分权重 */
|
||||
weights?: Partial<MatchWeights>;
|
||||
/**
|
||||
* 候选池里"撞名"的通用词(归一化形态):单个拉丁词且池中 ≥ 3 个候选的名称包含它(`Archives`)。
|
||||
* rankCandidates / resolveIdentity 按池自动计算;单独调用 scoreCandidate 时可传入。
|
||||
*/
|
||||
genericNames?: ReadonlySet<string>;
|
||||
}
|
||||
|
||||
/** 池里撞名的阈值:单个拉丁词被 ≥ 3 个候选的名称包含 */
|
||||
const GENERIC_POOL_HITS = 3;
|
||||
|
||||
/** 按候选池找出通用词:单个拉丁词、且池中多个候选的标题/别名都包含它 */
|
||||
export function poolGenericNames(p: ParsedRelease, candidates: readonly IdentityCandidate[]): Set<string> {
|
||||
const out = new Set<string>();
|
||||
for (const q of queryNames(p)) {
|
||||
if (!isSingleLatinWord(q)) continue;
|
||||
let hits = 0;
|
||||
for (const c of candidates) {
|
||||
if ([...c.titles, ...c.aliases].some((t) => normalizeTitle(t).includes(q.norm))) hits++;
|
||||
if (hits >= GENERIC_POOL_HITS) {
|
||||
out.add(q.norm);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
const LEVEL_RANK: Record<EvidenceLevel, number> = {
|
||||
@@ -52,30 +125,81 @@ const YEAR_RANK: Record<YearMatch, number> = {
|
||||
|
||||
const raise = (l: EvidenceLevel): EvidenceLevel =>
|
||||
l === "needs_confirm" ? "multi_evidence" : l === "multi_evidence" ? "rule_confirmed" : l;
|
||||
const capAt = (l: EvidenceLevel, max: EvidenceLevel): EvidenceLevel => (LEVEL_RANK[l] > LEVEL_RANK[max] ? max : l);
|
||||
|
||||
export function queryTitles(p: ParsedRelease): string[] {
|
||||
const out: string[] = [];
|
||||
for (const t of [p.titleCn, p.titleEn, p.title]) {
|
||||
if (!t) continue;
|
||||
const n = normalizeTitle(t);
|
||||
if (n && !out.includes(n)) out.push(n);
|
||||
}
|
||||
function weightsOf(opts: MatchOptions): MatchWeights {
|
||||
const w = opts.weights;
|
||||
if (!w) return DEFAULT_MATCH_WEIGHTS;
|
||||
return {
|
||||
...DEFAULT_MATCH_WEIGHTS,
|
||||
...w,
|
||||
title: { ...DEFAULT_MATCH_WEIGHTS.title, ...w.title },
|
||||
year: { ...DEFAULT_MATCH_WEIGHTS.year, ...w.year },
|
||||
thresholds: { ...DEFAULT_MATCH_WEIGHTS.thresholds, ...w.thresholds },
|
||||
};
|
||||
}
|
||||
|
||||
interface QueryName {
|
||||
raw: string;
|
||||
norm: string;
|
||||
/** primary = 主标题解析出的中/英文名;alt = 副标题别名(命中只算 alias) */
|
||||
primary: boolean;
|
||||
script: "han" | "latin";
|
||||
}
|
||||
|
||||
function queryNames(p: ParsedRelease): QueryName[] {
|
||||
const out: QueryName[] = [];
|
||||
const add = (raw: string | undefined, primary: boolean) => {
|
||||
if (!raw) return;
|
||||
const norm = normalizeTitle(raw);
|
||||
// 通用词守卫:分类词 / 单字 / 过短 / 停用词不作为名称参与比对
|
||||
if (!norm || isGenericAliasName(norm) || out.some((q) => q.norm === norm)) return;
|
||||
out.push({ raw, norm, primary, script: /\p{Script=Han}/u.test(raw) ? "han" : "latin" });
|
||||
};
|
||||
add(p.titleCn, true);
|
||||
add(p.titleEn, true);
|
||||
add(p.title, true);
|
||||
for (const a of p.altTitles ?? []) add(a, false);
|
||||
return out;
|
||||
}
|
||||
|
||||
function titleMatch(queries: string[], c: IdentityCandidate): TitleMatch {
|
||||
/** 召回/比对用的归一化名称:中文名、英文名、展示名,再加副标题里的别名(已排除通用词) */
|
||||
export function queryTitles(p: ParsedRelease): string[] {
|
||||
return queryNames(p).map((q) => q.norm);
|
||||
}
|
||||
|
||||
/** 单个拉丁词(去掉冠词后);再加上池里撞名(poolGenericNames)才算通用词 */
|
||||
const isSingleLatinWord = (q: QueryName) =>
|
||||
q.script === "latin" &&
|
||||
q.raw
|
||||
.trim()
|
||||
.replace(/^(?:the|a|an)\s+/i, "")
|
||||
.split(/[\s._-]+/)
|
||||
.filter(Boolean).length === 1;
|
||||
|
||||
interface NameResult {
|
||||
tm: TitleMatch;
|
||||
matched: QueryName[];
|
||||
}
|
||||
|
||||
function titleMatch(queries: QueryName[], c: IdentityCandidate): NameResult {
|
||||
const titles = c.titles.map(normalizeTitle).filter(Boolean);
|
||||
const aliases = c.aliases.map(normalizeTitle).filter(Boolean);
|
||||
if (queries.some((q) => titles.includes(q))) return "exact";
|
||||
if (queries.some((q) => aliases.includes(q))) return "alias";
|
||||
const aliases = c.aliases.map(normalizeTitle).filter((a) => a && !isGenericAliasName(a));
|
||||
const exact = queries.filter((q) => q.primary && titles.includes(q.norm));
|
||||
const alias = queries.filter((q) => !exact.includes(q) && (titles.includes(q.norm) || aliases.includes(q.norm)));
|
||||
const matched = [...exact, ...alias];
|
||||
if (exact.length) return { tm: "exact", matched };
|
||||
if (alias.length) return { tm: "alias", matched };
|
||||
const all = [...titles, ...aliases];
|
||||
const partial = queries.some((q) =>
|
||||
all.some((t) => {
|
||||
const [short, long] = q.length <= t.length ? [q, t] : [t, q];
|
||||
return short.length >= 2 && long.includes(short);
|
||||
}),
|
||||
const partial = queries.some(
|
||||
(q) =>
|
||||
q.primary &&
|
||||
all.some((t) => {
|
||||
const [short, long] = q.norm.length <= t.length ? [q.norm, t] : [t, q.norm];
|
||||
return short.length >= 2 && long.includes(short);
|
||||
}),
|
||||
);
|
||||
return partial ? "partial" : "none";
|
||||
return { tm: partial ? "partial" : "none", matched: [] };
|
||||
}
|
||||
|
||||
function yearMatch(p: ParsedRelease, c: IdentityCandidate, tol: number): YearMatch {
|
||||
@@ -93,13 +217,31 @@ function typeMatch(p: ParsedRelease, c: IdentityCandidate): TypeMatch {
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
/** 单个候选的证据等级(纯函数,不产生概率数字) */
|
||||
function sequelOf(p: ParsedRelease, c: IdentityCandidate): "match" | "conflict" | "none" {
|
||||
const q = new Set<number>();
|
||||
for (const t of [p.titleEn, p.titleCn, ...(p.altTitles ?? [])]) for (const n of sequelNumbers(t ?? "")) q.add(n);
|
||||
if (!q.size) return "none";
|
||||
const cand = new Set<number>();
|
||||
for (const t of [...c.titles, ...c.aliases]) for (const n of sequelNumbers(t)) cand.add(n);
|
||||
if (!cand.size) return "none";
|
||||
return [...q].some((n) => cand.has(n)) ? "match" : "conflict";
|
||||
}
|
||||
|
||||
/** 单个候选的证据等级(纯函数) */
|
||||
export function scoreCandidate(p: ParsedRelease, c: IdentityCandidate, opts: MatchOptions = {}): RankedCandidate {
|
||||
const w = weightsOf(opts);
|
||||
const tol = opts.yearTolerance ?? 1;
|
||||
const tm = titleMatch(queryTitles(p), c);
|
||||
const queries = queryNames(p);
|
||||
const { tm, matched } = titleMatch(queries, c);
|
||||
const ym = yearMatch(p, c, tol);
|
||||
const ty = typeMatch(p, c);
|
||||
const sequel = sequelOf(p, c);
|
||||
const nameLangs = new Set(matched.map((q) => q.script)).size;
|
||||
const genericName =
|
||||
tm === "alias" && matched.every((q) => isSingleLatinWord(q) && (opts.genericNames?.has(q.norm) ?? false));
|
||||
const evidence: string[] = [`title:${tm}`, `year:${ym}`, `type:${ty}`];
|
||||
if (nameLangs > 1) evidence.push(`name_langs:${nameLangs}`);
|
||||
if (sequel !== "none") evidence.push(`sequel:${sequel}`);
|
||||
const explicit = p.explicitIds.some(
|
||||
(x) =>
|
||||
(x.provider === c.provider && x.id === c.externalId) ||
|
||||
@@ -108,37 +250,83 @@ export function scoreCandidate(p: ParsedRelease, c: IdentityCandidate, opts: Mat
|
||||
if (explicit) evidence.push("explicit_id");
|
||||
if (c.provider === "local") evidence.push("local_entity");
|
||||
|
||||
let level: EvidenceLevel;
|
||||
if (ym === "mismatch") level = "rejected";
|
||||
// 分值
|
||||
let points = w.title[tm] + (ym === "mismatch" ? 0 : w.year[ym]);
|
||||
const explicitSeason = p.season !== undefined && !p.seasonInferred;
|
||||
if (ym === "unknown" && ty === "match" && explicitSeason) points += w.tvSeasonNoYear;
|
||||
if (nameLangs > 1) points += w.secondName * (nameLangs - 1);
|
||||
if (sequel === "match") points += w.sequelMatch;
|
||||
if (explicitSeason && p.season! > 0 && c.entityType === "tv" && c.seasonNumbers?.length) {
|
||||
if (c.seasonNumbers.includes(p.season!)) points += w.seasonMatch;
|
||||
else {
|
||||
points += w.seasonMissing;
|
||||
evidence.push("season:missing");
|
||||
}
|
||||
}
|
||||
|
||||
let level: EvidenceLevel =
|
||||
points >= w.thresholds.rule_confirmed
|
||||
? "rule_confirmed"
|
||||
: points >= w.thresholds.multi_evidence
|
||||
? "multi_evidence"
|
||||
: points >= w.thresholds.needs_confirm
|
||||
? "needs_confirm"
|
||||
: "rejected";
|
||||
// 硬规则
|
||||
if (ym === "mismatch" || sequel === "conflict") level = "rejected";
|
||||
else if (tm === "none") level = explicit ? "needs_confirm" : "rejected";
|
||||
else if (tm === "partial") level = "needs_confirm";
|
||||
else if (ym === "exact" || ym === "season_year") level = tm === "exact" ? "rule_confirmed" : "multi_evidence";
|
||||
else if (ym === "within_tolerance") level = "multi_evidence";
|
||||
else {
|
||||
// 年份未知:剧集有季集信息且类型一致时仍算多证据,电影需确认
|
||||
level = ty === "match" && p.season !== undefined ? "multi_evidence" : "needs_confirm";
|
||||
if (level === "rejected") level = "needs_confirm";
|
||||
if (tm === "partial") level = capAt(level, "needs_confirm");
|
||||
if (genericName) {
|
||||
level = capAt(level, "needs_confirm");
|
||||
evidence.push("generic_name");
|
||||
}
|
||||
// 只靠别名命中:还要年份相容或另一种文字的名字也命中,否则只作提示
|
||||
if (tm === "alias" && nameLangs < 2 && ym === "unknown") {
|
||||
level = capAt(level, "needs_confirm");
|
||||
evidence.push("alias_uncorroborated");
|
||||
}
|
||||
}
|
||||
if (level !== "rejected" && ty === "mismatch") {
|
||||
level = "needs_confirm";
|
||||
evidence.push("type_conflict");
|
||||
}
|
||||
if (explicit && level !== "rejected" && tm !== "none") level = raise(level);
|
||||
return { candidate: c, level, titleMatch: tm, yearMatch: ym, typeMatch: ty, evidence };
|
||||
return {
|
||||
candidate: c,
|
||||
level,
|
||||
titleMatch: tm,
|
||||
yearMatch: ym,
|
||||
typeMatch: ty,
|
||||
evidence,
|
||||
signals: { points, nameLangs, sequel, genericName },
|
||||
};
|
||||
}
|
||||
|
||||
/** 候选排序:等级 > 标题 > 年份 > 本地优先 > 原顺序 */
|
||||
/** 同等级内的取舍:年份精确优先,再按命中的名称文字种数,再按分值 */
|
||||
function tieBreak(a: RankedCandidate, b: RankedCandidate): number {
|
||||
return (
|
||||
YEAR_RANK[b.yearMatch] - YEAR_RANK[a.yearMatch] ||
|
||||
b.signals.nameLangs - a.signals.nameLangs ||
|
||||
b.signals.points - a.signals.points
|
||||
);
|
||||
}
|
||||
|
||||
/** 候选排序:等级 > 年份 > 名称文字种数 > 分值 > 标题 > 本地优先 > 原顺序 */
|
||||
export function rankCandidates(
|
||||
p: ParsedRelease,
|
||||
candidates: readonly IdentityCandidate[],
|
||||
opts: MatchOptions = {},
|
||||
): RankedCandidate[] {
|
||||
const o = opts.genericNames ? opts : { ...opts, genericNames: poolGenericNames(p, candidates) };
|
||||
return candidates
|
||||
.map((c, i) => ({ r: scoreCandidate(p, c, opts), i }))
|
||||
.map((c, i) => ({ r: scoreCandidate(p, c, o), i }))
|
||||
.sort(
|
||||
(a, b) =>
|
||||
LEVEL_RANK[b.r.level] - LEVEL_RANK[a.r.level] ||
|
||||
tieBreak(a.r, b.r) ||
|
||||
TITLE_RANK[b.r.titleMatch] - TITLE_RANK[a.r.titleMatch] ||
|
||||
YEAR_RANK[b.r.yearMatch] - YEAR_RANK[a.r.yearMatch] ||
|
||||
Number(b.r.candidate.provider === "local") - Number(a.r.candidate.provider === "local") ||
|
||||
a.i - b.i,
|
||||
)
|
||||
@@ -173,6 +361,8 @@ export function resolveIdentity(
|
||||
const rivals = ranked.filter(
|
||||
(r) => r !== top && LEVEL_RANK[r.level] >= LEVEL_RANK[top.level] && !sameIdentity(r.candidate, top.candidate),
|
||||
);
|
||||
if (rivals.length > 0) return { status: "ambiguous", best: top, ranked, reason: "multiple_candidates_same_level" };
|
||||
return { status: "auto", best: top, ranked, reason: top.level };
|
||||
// 同等级多个候选:年份精确 / 名称文字种数 / 分值上严格占优才自动确认,否则进池
|
||||
if (rivals.some((r) => tieBreak(top, r) >= 0))
|
||||
return { status: "ambiguous", best: top, ranked, reason: "multiple_candidates_same_level" };
|
||||
return { status: "auto", best: top, ranked, reason: rivals.length ? `${top.level}:tie_break` : top.level };
|
||||
}
|
||||
@@ -35,3 +35,69 @@ export function normalizeTitle(s: string): string {
|
||||
.replace(/&/g, "and")
|
||||
.replace(/[^\p{L}\p{N}]+/gu, "");
|
||||
}
|
||||
|
||||
/** 分类词(站点分类 / RSS 标题前缀)与常见停用词:不能当片名或别名用于身份比对(ID-2) */
|
||||
const GENERIC_NAMES = new Set(
|
||||
[
|
||||
"电影",
|
||||
"电视剧",
|
||||
"剧集",
|
||||
"连续剧",
|
||||
"动漫",
|
||||
"动画",
|
||||
"番剧",
|
||||
"国漫",
|
||||
"日漫",
|
||||
"综艺",
|
||||
"纪录片",
|
||||
"记录片",
|
||||
"音乐",
|
||||
"短剧",
|
||||
"微短剧",
|
||||
"体育",
|
||||
"游戏",
|
||||
"软件",
|
||||
"学习",
|
||||
"其他",
|
||||
"其它",
|
||||
"未知",
|
||||
"新",
|
||||
"合集",
|
||||
"全集",
|
||||
"中字",
|
||||
"国语",
|
||||
"粤语",
|
||||
"高清",
|
||||
"蓝光",
|
||||
"原盘",
|
||||
"movie",
|
||||
"movies",
|
||||
"tv",
|
||||
"tvseries",
|
||||
"series",
|
||||
"anime",
|
||||
"animation",
|
||||
"documentary",
|
||||
"music",
|
||||
"variety",
|
||||
"show",
|
||||
"the",
|
||||
"season",
|
||||
"complete",
|
||||
"unknown",
|
||||
"other",
|
||||
].map((s) => s.toLowerCase()),
|
||||
);
|
||||
|
||||
/**
|
||||
* 归一化后的名称是否太"通用"不能用于身份比对:分类词、停用词、单个汉字、两个以内的拉丁字符、纯数字。
|
||||
* 参数是 normalizeTitle 之后的形态。
|
||||
*/
|
||||
export function isGenericAliasName(norm: string): boolean {
|
||||
if (!norm) return true;
|
||||
if (GENERIC_NAMES.has(norm)) return true;
|
||||
if (/^\d+$/.test(norm)) return true;
|
||||
const han = norm.match(/\p{Script=Han}/gu)?.length ?? 0;
|
||||
if (han > 0) return [...norm].length < 2;
|
||||
return norm.length <= 2;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* 续作 / 章节 / Part 序号(ID-2):`Chapter III`、`Part Two`、`Vol. 2`、`第3章`、`第三章`、`Ⅲ`。
|
||||
* 只认显式关键词或罗马数字符号,不把片名末尾的普通数字当序号(`Blade Runner 2049`、`Apollo 13`)。
|
||||
* 季号不在这里(季由解析器单独给出)。
|
||||
*/
|
||||
import { cnToInt } from "../release-parser/cn-number.ts";
|
||||
|
||||
const WORD_NUM: Record<string, number> = {
|
||||
one: 1,
|
||||
two: 2,
|
||||
three: 3,
|
||||
four: 4,
|
||||
five: 5,
|
||||
six: 6,
|
||||
seven: 7,
|
||||
eight: 8,
|
||||
nine: 9,
|
||||
ten: 10,
|
||||
first: 1,
|
||||
second: 2,
|
||||
third: 3,
|
||||
fourth: 4,
|
||||
final: -1,
|
||||
};
|
||||
const ROMAN: Record<string, number> = { i: 1, ii: 2, iii: 3, iv: 4, v: 5, vi: 6, vii: 7, viii: 8, ix: 9, x: 10 };
|
||||
const ROMAN_CHAR: Record<string, number> = {
|
||||
Ⅰ: 1,
|
||||
Ⅱ: 2,
|
||||
Ⅲ: 3,
|
||||
Ⅳ: 4,
|
||||
Ⅴ: 5,
|
||||
Ⅵ: 6,
|
||||
Ⅶ: 7,
|
||||
Ⅷ: 8,
|
||||
Ⅸ: 9,
|
||||
Ⅹ: 10,
|
||||
};
|
||||
|
||||
function toNum(tok: string): number | undefined {
|
||||
const t = tok.toLowerCase();
|
||||
if (/^\d{1,2}$/.test(t)) return Number(t);
|
||||
if (t in ROMAN) return ROMAN[t];
|
||||
if (t in WORD_NUM) return WORD_NUM[t]! > 0 ? WORD_NUM[t] : undefined;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export function sequelNumbers(title: string): number[] {
|
||||
if (!title) return [];
|
||||
const out = new Set<number>();
|
||||
const s = title.replace(/[ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ]/g, (c) => ` ${ROMAN_CHAR[c]} `);
|
||||
for (const m of s.matchAll(/\b(?:chapter|part|vol(?:ume)?)\b\.?\s*[::-]?\s*([0-9]{1,2}|[ivx]{1,4}|[a-z]+)\b/giu)) {
|
||||
const n = toNum(m[1]!);
|
||||
if (n !== undefined) out.add(n);
|
||||
}
|
||||
for (const m of s.matchAll(/第\s*([0-9]{1,2}|[一二三四五六七八九十]{1,3})\s*章/gu)) {
|
||||
const n = /^\d+$/.test(m[1]!) ? Number(m[1]) : cnToInt(m[1]!);
|
||||
if (n !== undefined) out.add(n);
|
||||
}
|
||||
return [...out];
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import { CN_NUM, cnToInt } from "./cn-number.ts";
|
||||
import { evalEpisodeOffset } from "./offset.ts";
|
||||
import { PLATFORMS } from "./platforms.ts";
|
||||
import { buildGroupRegex, defaultGroupRegex } from "./release-groups.ts";
|
||||
import { splitEmbeddedDescription, subtitleTitles } from "./subtitle-titles.ts";
|
||||
import {
|
||||
type Confidence,
|
||||
type ContentType,
|
||||
@@ -753,6 +754,9 @@ const ANIME_TAG_BARE = new RegExp(`★\\s*${ANIME_TAG_CORE}\\s*★?|(?<|Anime)\b[^\]】]*|[动動漫画畫纪紀录錄片电電影视視连連续續剧劇集日美韩韓中港台海外亚亞洲华華语語大陆陸综綜艺藝原盘盤高清]{2,})[\]】]\s*(?=[[【])/iu;
|
||||
/** 开头方括号只有一个分类词(RSS 标题 `[动漫]Name S01 …`、`[电视剧]…`),后面直接接片名 */
|
||||
const CATEGORY_WORD_LEAD =
|
||||
/^\s*[[【](动漫|動漫|动画|動畫|电影|電影|电视剧|電視劇|剧集|劇集|综艺|綜藝|纪录片|紀錄片|短剧|短劇|体育|體育|音乐|音樂|MV|游戏|遊戲|软件|軟體|学习|學習|其他|其它)[\]】]\s*/u;
|
||||
const CN_ALIAS_SLASH =
|
||||
/(?<=^|[\s\]】])[^\s/[\]【】]*\p{Script=Han}[^\s/[\]【】]*\s*\/\s*(?=[^\s/[\]【】]*\p{Script=Han})/u;
|
||||
|
||||
@@ -814,6 +818,14 @@ function parseExplicitBlock(body: string): { ids: ExplicitId[]; meta: NonNullabl
|
||||
return hit ? { ids, meta } : undefined;
|
||||
}
|
||||
|
||||
/** 副标题里的中文名能否当主中文名:去掉季号后不含空白分隔的多段汉字、不是句子、长度合理;返回去掉季号的名字 */
|
||||
function cnTitleFromSubtitle(t: string): string | undefined {
|
||||
const core = t.replace(new RegExp(`\\s*第\\s*${CN_NUM}\\s*[季部]\\s*$`, "u"), "").trim();
|
||||
if (!core || [...core].length > 24) return undefined;
|
||||
if (/\p{Script=Han}\s+\p{Script=Han}/u.test(core)) return undefined;
|
||||
return /[。??]/u.test(core) ? undefined : core;
|
||||
}
|
||||
|
||||
/** 常见拼音音节(不含声调);用于判断英文名是否其实是拼音 */
|
||||
const PINYIN_SYLLABLE =
|
||||
/^(?:[bpmfdtnlgkhjqxrzcsyw]|zh|ch|sh)?(?:iang|iong|uang|ueng|ang|eng|ing|ong|ian|iao|uai|uan|ai|ei|ao|ou|an|en|in|un|ia|ie|iu|ua|uo|ui|ue|er|a|o|e|i|u|v)$/i;
|
||||
@@ -839,6 +851,17 @@ export function parseRelease(input: string, opts: ParseOptions = {}): ParsedRele
|
||||
s = s.slice(0, -(ext.length + 1));
|
||||
} else if (opts.isFile) d.isFile = true;
|
||||
|
||||
// 1b. RSS 标题末尾内嵌的站点描述 `…-GRP[中文名 / … | 第N集 | …][体积]`:拆出来当副标题用
|
||||
let subtitle = opts.subtitle;
|
||||
if (!kind) {
|
||||
const emb = splitEmbeddedDescription(s);
|
||||
if (emb.description) {
|
||||
s = emb.title;
|
||||
subtitle = subtitle ? `${emb.description} | ${subtitle}` : emb.description;
|
||||
ev.push("subtitle:embedded");
|
||||
}
|
||||
}
|
||||
|
||||
// 2. 显式身份标签:先取 `{[k=v;…]}` 块(季/集/类型一并给出),再取单个 `[tmdbid=…]`
|
||||
s = s.replace(/\{\[([^\]{}]*)\]\}/g, (all, body: string) => {
|
||||
const block = parseExplicitBlock(body);
|
||||
@@ -860,7 +883,11 @@ export function parseRelease(input: string, opts: ParseOptions = {}): ParsedRele
|
||||
s = s.replace(BRACKET_DOT_TITLE, " $1 ");
|
||||
// 2c. 动漫前缀标签(★7月新番★、[国漫]、【22年日剧】、[2022年7月番])与开头的分类方括号([Animations(动画片)])
|
||||
s = s.replace(ANIME_TAG_BRACKET, " ").replace(ANIME_TAG_BARE, " ");
|
||||
s = s.replace(CATEGORY_LEAD, "");
|
||||
s = s.replace(CATEGORY_LEAD, "").replace(CATEGORY_WORD_LEAD, (_all, c: string) => {
|
||||
d.category = c;
|
||||
ev.push("category:lead");
|
||||
return "";
|
||||
});
|
||||
// 2d. `中文名A / 中文名B`:同一作品的两个中文译名只留后一个(与 MP 取法一致),避免拼成一个名字
|
||||
s = s.replace(CN_ALIAS_SLASH, "");
|
||||
|
||||
@@ -955,13 +982,17 @@ export function parseRelease(input: string, opts: ParseOptions = {}): ParsedRele
|
||||
ev.push("pack:fin");
|
||||
return MARK_HARD;
|
||||
});
|
||||
s = s.replace(/\s-\s(\d{1,3})(?:v\d)?(?=\s|\[|【|$)/u, (_all, n: string) => {
|
||||
if (!d.episodes) {
|
||||
d.episodes = { start: Number(n), end: Number(n) };
|
||||
ev.push("episode:anime_dash");
|
||||
}
|
||||
return MARK_HARD;
|
||||
});
|
||||
// `Travis - 12 Memories`:数字后紧跟一个普通单词时是片名的一部分,不是集号
|
||||
s = s.replace(
|
||||
/\s-\s(\d{1,3})(?:v\d)?(?=\s|\[|【|$)(?!\s+(?!(?:END|Fin|Final|RAW)\b)[A-Za-z][a-z]+\b)/u,
|
||||
(_all, n: string) => {
|
||||
if (!d.episodes) {
|
||||
d.episodes = { start: Number(n), end: Number(n) };
|
||||
ev.push("episode:anime_dash");
|
||||
}
|
||||
return MARK_HARD;
|
||||
},
|
||||
);
|
||||
// `[Group][Name][05]`、`Name [01][1080p]`:名称后的方括号纯数字是集号
|
||||
s = s.replace(/(?<=\S\s*)[[【](\d{1,3})(?:v\d)?[\]】]/u, (all, n: string) => {
|
||||
if (d.episodes) return all;
|
||||
@@ -991,26 +1022,36 @@ export function parseRelease(input: string, opts: ParseOptions = {}): ParsedRele
|
||||
}
|
||||
|
||||
// 13. 副标题补缺
|
||||
if (opts.subtitle) {
|
||||
if (subtitle) {
|
||||
// 英文名其实是拼音(Mai Xiang ↔ 麦香):中文名取副标题第一个词
|
||||
if (!d.titleCn && d.titleEn) {
|
||||
const words = d.titleEn.split(/\s+/);
|
||||
const first = /^\s*(\p{Script=Han}{2,12})(?=[\s||/,,]|$)/u.exec(opts.subtitle)?.[1];
|
||||
const first = /^\s*(\p{Script=Han}{2,12})(?=[\s||/,,]|$)/u.exec(subtitle)?.[1];
|
||||
if (first && words.length === [...first].length && words.every((w) => PINYIN_SYLLABLE.test(w))) {
|
||||
d.titleCn = first;
|
||||
ev.push("subtitle:title_cn_pinyin");
|
||||
}
|
||||
}
|
||||
const sub = scanCnMarkers(opts.subtitle);
|
||||
// 副标题第一段的片名(ID-2):主标题没有中文名时取第一个中文名;其余作为别名参与匹配
|
||||
const names = subtitleTitles(subtitle);
|
||||
const first = names.find((n) => /\p{Script=Han}/u.test(n));
|
||||
const cn = first ? cnTitleFromSubtitle(first) : undefined;
|
||||
if (!d.titleCn && cn) {
|
||||
d.titleCn = cn;
|
||||
ev.push("subtitle:title_cn");
|
||||
}
|
||||
const alts = names.filter((n) => n !== d.titleCn && n !== d.titleEn).slice(0, 6);
|
||||
if (alts.length) d.altTitles = alts;
|
||||
const sub = scanCnMarkers(subtitle);
|
||||
// 副标题里的拉丁字幕标记 CHS/CHT/GB/BIG5(`60 GB` 这类体积不算)
|
||||
for (const m of opts.subtitle.matchAll(/(?<![A-Za-z0-9])(?<!\d\s?)(CHS|CHT|GB|BIG5)(?![A-Za-z0-9])/gi)) {
|
||||
for (const m of subtitle.matchAll(/(?<![A-Za-z0-9])(?<!\d\s?)(CHS|CHT|GB|BIG5)(?![A-Za-z0-9])/gi)) {
|
||||
const lang = /^(CHS|GB)$/i.test(m[1]!) ? "zh-Hans" : "zh-Hant";
|
||||
sub.subtitles = [...new Set([...(sub.subtitles ?? []), lang])];
|
||||
if (!sub.evidence.includes("subtitle:latin")) sub.evidence.push("subtitle:latin");
|
||||
}
|
||||
applyCnMarkers(d, sub, "subtitle:");
|
||||
if (!d.airDate) {
|
||||
const sad = extractAirDate(opts.subtitle);
|
||||
const sad = extractAirDate(subtitle);
|
||||
if (sad.airDate) {
|
||||
d.airDate = sad.airDate;
|
||||
ev.push(`subtitle:${sad.ev}`);
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* 副标题 / RSS 内嵌描述里的片名(ID-2)。
|
||||
*
|
||||
* 憨憨等站点的主标题只有英文名(`Martial Master S01 2020 … -HHWEB`),中文名在副标题第一段
|
||||
* (`武神主宰 / 武神主宰 第一季 / The God of War Dominates | 第685集 | 1080p | 类型: …`);RSS 标题则把这段描述
|
||||
* 用方括号拼在发布组后面(`…-HHWEB[武神主宰 / … | 第685集 | …][180.86 MB]`)。
|
||||
* MP 的 MetaInfo 只从副标题取季集,不取片名;这里把第一段里的片名收进解析结果参与匹配(对照 MP 属于增强)。
|
||||
*/
|
||||
|
||||
/** 末尾体积方括号 `[180.86 MB]` */
|
||||
const SIZE_BRACKET = /\s*[[【]\s*\d+(?:\.\d+)?\s*(?:[KMGT]i?B)\s*[\]】]\s*$/iu;
|
||||
|
||||
/**
|
||||
* 把 RSS 标题末尾的内嵌描述方括号拆出来:`Title … -GRP[描述 | …][体积]` → { title, description }。
|
||||
* 只认含中文且含 `|` 或 ` / ` 分隔的方括号(站点描述的形态),`[新]` 这类短标签不拆。
|
||||
*/
|
||||
export function splitEmbeddedDescription(input: string): { title: string; description?: string } {
|
||||
let s = input.replace(SIZE_BRACKET, "");
|
||||
if (!/[\]】]\s*$/u.test(s)) return { title: input };
|
||||
s = s.trimEnd();
|
||||
// 从末尾按深度找配对的左括号(描述里可能嵌套 `[内嵌中字]`)
|
||||
let depth = 0;
|
||||
let start = -1;
|
||||
for (let i = s.length - 1; i >= 0; i--) {
|
||||
const c = s[i]!;
|
||||
if (c === "]" || c === "】") depth++;
|
||||
else if (c === "[" || c === "【") {
|
||||
depth--;
|
||||
if (depth === 0) {
|
||||
start = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (start <= 0) return { title: input };
|
||||
const content = s.slice(start + 1, -1).trim();
|
||||
const head = s.slice(0, start).trimEnd();
|
||||
if (!/\p{Script=Han}/u.test(content) || !/\||\s\/\s/u.test(content)) return { title: input };
|
||||
// 前面必须像一个发布名(含拉丁字母)
|
||||
if (!/[A-Za-z]{2,}/.test(head)) return { title: input };
|
||||
return { title: head, description: content };
|
||||
}
|
||||
|
||||
/** 名称里出现这些词就不是片名(字幕/音轨/版本/简介字段) */
|
||||
const NOT_A_TITLE =
|
||||
/中字|字幕|[国國粤粵]语|[国國]配|双语|雙語|多语|音轨|音軌|配音|杜比|原盘|原盤|特效|章节|章節|类型|類型|导演|導演|主演|简繁|簡繁|简体|繁体|繁體|内封|内嵌|內嵌|高码|作品|收藏|合集|更新|完结|完結|[全共]\s*\d+\s*[集期]|第\s*\d+\s*[集期]|\d+\s*集|4K|HDR|\d{3,4}[pP]|DTS|TrueHD|Atmos|FLAC|\bAAC\b|DDP|\d\.\d|\bTop\b|\*|#/u;
|
||||
const REGION_NOTE = /\s*[((]\s*(?:港|台|澳|港台|大陆|陆|新|马)\s*[))]\s*/gu;
|
||||
const BRACKETED = /[[【][^\]】]*[\]】]/gu;
|
||||
const VERSION_SUFFIX = /\s*\S*版\s*$/u;
|
||||
|
||||
/**
|
||||
* 副标题第一段(第一个 `|` 之前)里的片名,按 `/` 拆分,顺序保留;去掉地区注记与方括号标签,
|
||||
* 丢弃字幕/音轨/简介字段。只返回看起来像片名的项(含字母或汉字,长度合理)。
|
||||
*/
|
||||
export function subtitleTitles(subtitle: string | undefined): string[] {
|
||||
if (!subtitle) return [];
|
||||
const first = subtitle.split(/\s*[||]\s*/u)[0] ?? "";
|
||||
const out: string[] = [];
|
||||
for (const raw of first.replace(BRACKETED, " ").split(/\s*[//]\s*/u)) {
|
||||
let t = raw.replace(REGION_NOTE, " ").replace(/\s+/g, " ").trim();
|
||||
if (!t) continue;
|
||||
if (NOT_A_TITLE.test(t)) continue;
|
||||
// `星际穿越 IMAX版`:版本后缀不属于片名
|
||||
if (/\p{Script=Han}/u.test(t) && /\s\S*版$/u.test(t)) t = t.replace(VERSION_SUFFIX, "").trim();
|
||||
if (!/[\p{L}\p{N}]/u.test(t) || [...t].length > 40) continue;
|
||||
// 非拉丁/汉字文字(天城文等)不参与匹配
|
||||
if (!/^[\p{Script=Han}\p{Script=Latin}\p{N}\p{P}\p{S}\p{Zs}ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ]+$/u.test(t)) continue;
|
||||
if (!out.includes(t)) out.push(t);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/** 解析器版本:规则变化时递增,缓存/识别结果按此失效 */
|
||||
export const PARSER_VERSION = 1;
|
||||
export const PARSER_VERSION = 2;
|
||||
|
||||
export type Resolution = "4320p" | "2160p" | "1440p" | "1080p" | "1080i" | "720p" | "576p" | "480p";
|
||||
|
||||
@@ -75,6 +75,10 @@ export interface ParsedRelease {
|
||||
title?: string;
|
||||
titleCn?: string;
|
||||
titleEn?: string;
|
||||
/** 标题开头的站点分类方括号(`[电视剧]`、`[音乐]`),不属于片名 */
|
||||
category?: string;
|
||||
/** 副标题 / RSS 内嵌描述第一段里的其他片名(译名、别名),参与身份匹配,不用于展示 */
|
||||
altTitles?: string[];
|
||||
year?: number;
|
||||
season?: number;
|
||||
seasonEnd?: number;
|
||||
@@ -125,7 +129,7 @@ export interface ParsedRelease {
|
||||
}
|
||||
|
||||
export interface ParseOptions {
|
||||
/** 站点副标题,只补主标题缺失的季集信息 */
|
||||
/** 站点副标题:补主标题缺失的季集信息;第一段里的片名补中文名与别名(altTitles) */
|
||||
subtitle?: string;
|
||||
/** 附加发布组(设置表扩展) */
|
||||
releaseGroups?: string[];
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"note": "逐条归因(ID-2)。kind:mp_defect=MP 误识别、我们的结果正确(expect=正确结果 type:id,null=不应自动绑定);intentional=故意偏离(不计入一致率);known_gap=已知差距。",
|
||||
"deviations": {
|
||||
"H-104": {
|
||||
"kind": "mp_defect",
|
||||
"expect": null,
|
||||
"note": "短剧《人中之龙第一季》(全98集,无年份):MP 用中文名搜 tv 无直达标题,逐个拉详情后按译名「人中之龙」命中《如龙》(Like a Dragon: Yakuza,2024)。我们:别名命中既无年份也无第二种文字的名称佐证 → 不自动绑定"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
"""身份匹配差分:用 MP 上游 MetaInfo + TheMovieDbModule 的名称识别链生成 mp.json。
|
||||
|
||||
用法(MP 仓库根目录,用其 .venv;TMDB 走本地缓存代理,见 docs/porting/moviepilot-identity-match.md):
|
||||
cd /opt/moviepilot-plus/upstream/MoviePilot && PYTHONPATH=. TMDB_PROXY=http://127.0.0.1:18731 \
|
||||
.venv/bin/python /opt/uhd_media_tool/packages/domain/test/differential/identity/gen-identity-mp.py
|
||||
|
||||
按 MP 实际识别顺序:MetaInfo(title, subtitle) → _prepare_search_names(cn_name, 简体 cn_name, en_name)
|
||||
→ 逐个名称 _search_by_name(_build_match_plan:电视剧 [季年份+年份, 无年份];其他 [电影+年份, 电视剧+年份, multi])。
|
||||
不含识别缓存、插件辅助识别与详情补全(只取匹配到的 id/类型/名称/年份)。只记录行为输出,不复制 MP 源码。
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import pathlib
|
||||
import subprocess
|
||||
|
||||
from app.domain.metainfo import MetaInfo
|
||||
from app.modules.themoviedb import TheMovieDbModule
|
||||
from app.modules.themoviedb.tmdbapi import TmdbApi
|
||||
from app.modules.themoviedb.tmdbv3api import tmdb as tmdb_mod
|
||||
|
||||
HERE = pathlib.Path(__file__).parent
|
||||
PROXY = os.environ.get("TMDB_PROXY", "http://127.0.0.1:18731")
|
||||
|
||||
|
||||
def _build_url(self, action, params=""):
|
||||
return "%s/3%s?api_key=x&%s&language=%s" % (PROXY, action, params, self.language)
|
||||
|
||||
|
||||
tmdb_mod.TMDb._build_url = _build_url
|
||||
|
||||
samples = json.loads((HERE / "samples.json").read_text(encoding="utf-8"))["samples"]
|
||||
if os.environ.get("LIMIT"):
|
||||
samples = samples[: int(os.environ["LIMIT"])]
|
||||
# 只需名称匹配链:不走 init_module(识别缓存/分类配置需要启动层)
|
||||
module = TheMovieDbModule.__new__(TheMovieDbModule)
|
||||
module.tmdb = TmdbApi()
|
||||
|
||||
|
||||
def val(v):
|
||||
return getattr(v, "value", v)
|
||||
|
||||
|
||||
def run(s: dict) -> dict:
|
||||
meta = MetaInfo(s["title"], s.get("subtitle"))
|
||||
out = {
|
||||
"meta": {
|
||||
"name": meta.name,
|
||||
"cn_name": meta.cn_name,
|
||||
"en_name": meta.en_name,
|
||||
"year": meta.year,
|
||||
"type": val(meta.type),
|
||||
"begin_season": meta.begin_season,
|
||||
"begin_episode": meta.begin_episode,
|
||||
},
|
||||
"names": module._prepare_search_names(meta),
|
||||
"match": None,
|
||||
}
|
||||
if not meta.name:
|
||||
return out
|
||||
for name in out["names"]:
|
||||
info = module._search_by_name(name, meta, [])
|
||||
if info:
|
||||
mtype = val(info.get("media_type"))
|
||||
mtype = "movie" if mtype in ("movie", "电影") else "tv"
|
||||
date = info.get("release_date") or info.get("first_air_date") or ""
|
||||
out["match"] = {
|
||||
"by": name,
|
||||
"tmdbId": info.get("id"),
|
||||
"type": mtype,
|
||||
"title": info.get("title") or info.get("name"),
|
||||
"year": int(date[:4]) if date[:4].isdigit() else None,
|
||||
}
|
||||
break
|
||||
return out
|
||||
|
||||
|
||||
result = {}
|
||||
for s in samples:
|
||||
try:
|
||||
result[s["id"]] = run(s)
|
||||
except Exception as e: # noqa: BLE001
|
||||
result[s["id"]] = {"error": f"{type(e).__name__}: {e}"}
|
||||
|
||||
commit = subprocess.run(["git", "rev-parse", "--short", "HEAD"], capture_output=True, text=True).stdout.strip()
|
||||
(HERE / "mp.json").write_text(
|
||||
json.dumps(
|
||||
{"generatedFrom": {"repo": "MoviePilot", "commit": commit, "entry": "MetaInfo + TheMovieDbModule._search_by_name"},
|
||||
"results": result},
|
||||
ensure_ascii=False,
|
||||
indent=1,
|
||||
)
|
||||
+ "\n",
|
||||
encoding="utf-8",
|
||||
)
|
||||
print(len(result))
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"note": "真机误识别回归(2026-09-29 用户栈):憨憨 RSS 标题「[电视剧]…」前缀被解析成中文名「电视剧」,登记为《东北有个周东北》的站点别名后,经别名召回把其他剧的资源并入该剧,并继续登记它们的英文名为别名(链式扩散)。entity/aliases 为当时的本地作品状态;cases 为被误并入的资源(标题/副标题原样),expect=正确的 TMDB 身份,not_local=不得自动并入该本地作品。",
|
||||
"entity": {
|
||||
"id": "844d02c5-706f-4948-8ae5-70080e8d5bbf",
|
||||
"kind": "series",
|
||||
"title": "东北有个周东北",
|
||||
"originalTitle": "东北有个周东北",
|
||||
"year": 2026
|
||||
},
|
||||
"aliases": [
|
||||
"东北有个周东北",
|
||||
"Dongbei's Back",
|
||||
"重回1985:东北往事",
|
||||
"Dong Bei You Ge Zhou Dong Bei",
|
||||
"Zhou Dongbei in the Northeast",
|
||||
"电视剧",
|
||||
"Spark of the Long March",
|
||||
"Irreplaceable",
|
||||
"A Prophet",
|
||||
"Spring of the Blade"
|
||||
],
|
||||
"identities": [
|
||||
{
|
||||
"provider": "tmdb",
|
||||
"externalId": "312027",
|
||||
"status": "accepted"
|
||||
}
|
||||
],
|
||||
"cases": [
|
||||
{
|
||||
"title": "A Prophet S01 2026 2160p TX WEB-DL H.265 HDR HFR DDP5.1-HHWEB",
|
||||
"subtitle": "我不是大师 / 长风起 / 将相 / 江相 / 我是个算命先生 | 第05集 | 4K HDR | 类型: 剧情/悬疑 | 导演: 杨磊 | 主演: 李现/李一桐/吴刚/刘冠麟/果靖霖",
|
||||
"expect": "tv:289078"
|
||||
},
|
||||
{
|
||||
"title": "A Prophet S01 2026 2160p TX WEB-DL H.265 HDR HFR DDP5.1-HHWEB",
|
||||
"subtitle": "我不是大师 / 长风起 / 将相 / 江相 / 我是个算命先生 | 第09-12集 | 4K HDR | 类型: 剧情/悬疑 | 导演: 杨磊 | 主演: 李现/李一桐/吴刚/刘冠麟/果靖霖",
|
||||
"expect": "tv:289078"
|
||||
},
|
||||
{
|
||||
"title": "Dongbei's Back S01 2026 1080p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 1080p | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙",
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第10-12集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙",
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 3Audios-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙",
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "Dongbei's Back S01 2026 2160p WEB-DL H.265 EDR AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 4K 高码 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙",
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "Dongbei's Back S01 2026 2160p WEB-DL H.265 HDR AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 4K HDR | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙",
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 1080p YK WEB-DL H.264 DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 1080p | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DV HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 杜比视界 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DV HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 杜比视界 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K HDR 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K HDR 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋",
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "Spring of the Blade S01 2026 2160p YK WEB-DL H.265 DV HFR HQ AAC2.0-HHWEB",
|
||||
"subtitle": "一瓯春 | 第20-24集 | 4K 高码 杜比视界 | 类型: 爱情/古装 | 导演: 潘安子 | 主演: 许凯/周也/白澍/闵春晓/柯颖",
|
||||
"expect": "tv:294990"
|
||||
},
|
||||
{
|
||||
"title": "Spring of the Blade S01 2026 2160p YK WEB-DL H.265 DV HQ AAC2.0-HHWEB",
|
||||
"subtitle": "一瓯春 | 第18-24集 | 4K 高码 杜比视界 | 类型: 爱情/古装 | 导演: 潘安子 | 主演: 许凯/周也/白澍/闵春晓/柯颖",
|
||||
"expect": "tv:294990"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB[东北有个周东北 | 第04集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙][422.03 MB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:312027"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Irreplaceable S01 2026 1080p YK WEB-DL H.264 DTS5.1-HHWEB[无可替代 | 第03集 | 1080p | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][510.37 MB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 DTS5.1-HHWEB[无可替代 | 第03集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][883.42 MB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR DTS5.1-HHWEB[无可替代 | 第03集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][851.20 MB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR DTS5.1-HHWEB[无可替代 | 第03集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][1.01 GB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR DTS5.1-HHWEB[无可替代 | 第03集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][1.06 GB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:297982"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K+多规格音轨 | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][2.76 GB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:336207"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p WEB-DL H.265 EDR AAC2.0-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K 高码 | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][2.48 GB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:336207"
|
||||
},
|
||||
{
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p WEB-DL H.265 HDR AAC2.0-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K HDR | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][9.27 GB]",
|
||||
"subtitle": null,
|
||||
"expect": "tv:336207"
|
||||
},
|
||||
{
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR DTS5.1-HHWEB",
|
||||
"subtitle": null,
|
||||
"expect": "not_local"
|
||||
},
|
||||
{
|
||||
"title": "Spring of the Blade S01 2026 2160p YK WEB-DL H.265 DV HQ AAC2.0-HHWEB",
|
||||
"subtitle": null,
|
||||
"expect": "not_local"
|
||||
},
|
||||
{
|
||||
"title": "A Prophet S01 2026 2160p TX WEB-DL H.265 HDR HFR DDP5.1-HHWEB",
|
||||
"subtitle": null,
|
||||
"expect": "not_local"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,909 @@
|
||||
{
|
||||
"note": "憨憨(HHClub)真实 RSS/列表标题,2026-09-29 从用户栈 source_release 只读导出;同标题去重。非短剧全部收录(98 条标题 / 35 部作品),短剧取前 15 部(TMDB 请求预算 ≤200)。标题与副标题为站点公开数据,不含账号信息。",
|
||||
"samples": [
|
||||
{
|
||||
"id": "H-001",
|
||||
"work": "Martial Master S01 2020",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Martial Master S01 2020 1080p WEB-DL H.264 AAC2.0-HHWEB[武神主宰 / 武神主宰 第一季 / The God of War Dominates | 第685集 | 1080p | 类型: 动画/奇幻/冒险 | 导演: 老鹰 | 主演: 许子尧/唐泽宗/陈帅/吴凡/孙科][180.86 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-002",
|
||||
"work": "Martial Master S01 2020",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Martial Master S01 2020 1080p WEB-DL H.265 AAC2.0-HHWEB[武神主宰 / 武神主宰 第一季 / The God of War Dominates | 第685集 | 1080p | 类型: 动画/奇幻/冒险 | 导演: 老鹰 | 主演: 许子尧/唐泽宗/陈帅/吴凡/孙科][480.41 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-003",
|
||||
"work": "Martial Master S01 2020",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Martial Master S01 2020 2160p WEB-DL H.265 AAC2.0-HHWEB[武神主宰 / 武神主宰 第一季 / The God of War Dominates | 第685集 | 4K | 类型: 动画/奇幻/冒险 | 导演: 老鹰 | 主演: 许子尧/唐泽宗/陈帅/吴凡/孙科][450.29 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-004",
|
||||
"work": "Mononoke The Movie Chapter III The Curse of the Serpent 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Mononoke The Movie Chapter III The Curse of the Serpent 2026 1080p NF WEB-DL H.264 DDP5.1-HHWEB",
|
||||
"subtitle": "怪化猫:蛇神 / 怪化猫第3章:蛇神 / Mononoke the Movie: Chapter Ⅲ - The Curse of the Serpent | 1080p | 类型: 动画/悬疑/恐怖 | 导演: 越田知明/中村健治 | 主演: 日笠阳子/平野文/本多真梨子/入野自由/甲斐田裕子"
|
||||
},
|
||||
{
|
||||
"id": "H-005",
|
||||
"work": "Archives S01 2009",
|
||||
"kind": "title_subtitle",
|
||||
"category": "404",
|
||||
"title": "Archives S01 2009 1080p WEB-DL H.264 AAC-HHWEB",
|
||||
"subtitle": "档案 / 档案解密 | 第152集 | 1080p | 类型: 纪录片/历史 | 主演: 石凉/赵立新/曹炳琨 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-006",
|
||||
"work": "A Different World S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "A Different World S01 2026 2160p NF WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "别样世界 / 别样世界重启版 / 新别样世界 | 全10集 | 4K | 类型: 剧情/喜剧 | 导演: 蒂凡妮·约翰逊/安吉拉·巴恩斯 | 主演: 克里·萨莫/卡丹·哈迪森/杰斯米·盖/Darryl M. Bell/Maleah Joi Moon"
|
||||
},
|
||||
{
|
||||
"id": "H-007",
|
||||
"work": "A Different World S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "A Different World S01 2026 2160p NF WEB-DL H.265 HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "别样世界 / 别样世界重启版 / 新别样世界 | 全10集 | 4K HDR | 类型: 剧情/喜剧 | 导演: 蒂凡妮·约翰逊/安吉拉·巴恩斯 | 主演: 克里·萨莫/卡丹·哈迪森/杰斯米·盖/Darryl M. Bell/Maleah Joi Moon"
|
||||
},
|
||||
{
|
||||
"id": "H-008",
|
||||
"work": "A Prophet S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "A Prophet S01 2026 2160p TX WEB-DL H.265 HDR HFR DDP5.1-HHWEB",
|
||||
"subtitle": "我不是大师 / 长风起 / 将相 / 江相 / 我是个算命先生 | 第05集 | 4K HDR | 类型: 剧情/悬疑 | 导演: 杨磊 | 主演: 李现/李一桐/吴刚/刘冠麟/果靖霖"
|
||||
},
|
||||
{
|
||||
"id": "H-009",
|
||||
"work": "Baby Do Die Do 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Baby Do Die Do 2026 2160p NF WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "贝比毙咚 / 死亡童谣 | 4K | 类型: 动作/犯罪 | 导演: Nachiket Samant | 主演: 胡玛·库雷希/Chunky Pandey/Dheeraj Sharma/西卡德尔·基尔/Vidya Malvade"
|
||||
},
|
||||
{
|
||||
"id": "H-010",
|
||||
"work": "Baby Do Die Do 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Baby Do Die Do 2026 2160p NF WEB-DL H.265 DV DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "贝比毙咚 / 死亡童谣 | 4K 杜比视界 | 类型: 动作/犯罪 | 导演: Nachiket Samant | 主演: 胡玛·库雷希/Chunky Pandey/Dheeraj Sharma/西卡德尔·基尔/Vidya Malvade"
|
||||
},
|
||||
{
|
||||
"id": "H-011",
|
||||
"work": "Baby Do Die Do 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Baby Do Die Do 2026 2160p NF WEB-DL H.265 HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "贝比毙咚 / 死亡童谣 | 4K HDR | 类型: 动作/犯罪 | 导演: Nachiket Samant | 主演: 胡玛·库雷希/Chunky Pandey/Dheeraj Sharma/西卡德尔·基尔/Vidya Malvade"
|
||||
},
|
||||
{
|
||||
"id": "H-012",
|
||||
"work": "Chef on Fire S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "403",
|
||||
"title": "Chef on Fire S01 2026 2160p NF WEB-DL H.265 AAC2.0-HHWEB",
|
||||
"subtitle": "开火开伙 | 第04集 | 4K | 类型: 真人秀 | 主演: 杨铭威/李玉玺/谢雨芝/郑智善/川越达也"
|
||||
},
|
||||
{
|
||||
"id": "H-013",
|
||||
"work": "China Now S01 2019",
|
||||
"kind": "title_subtitle",
|
||||
"category": "404",
|
||||
"title": "China Now S01 2019 1080p WEB-DL H.264 AAC-HHWEB",
|
||||
"subtitle": "这就是中国 | 第350集 | 1080p | 类型: 脱口秀 | 主演: 张维为 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-014",
|
||||
"work": "Delta Force_ The Creator S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Delta Force_ The Creator S01 2026 1080p WEB-DL H.264 AAC2.0-HHWEB[三角洲:造物主玩家 | 第25集 | 1080p | 类型: 科幻/动画 | 导演: 段文兴][105.45 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-015",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Dongbei's Back S01 2026 1080p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 1080p | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙"
|
||||
},
|
||||
{
|
||||
"id": "H-016",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第10-12集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙"
|
||||
},
|
||||
{
|
||||
"id": "H-017",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 3Audios-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙"
|
||||
},
|
||||
{
|
||||
"id": "H-018",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Dongbei's Back S01 2026 2160p WEB-DL H.265 EDR AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 4K 高码 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙"
|
||||
},
|
||||
{
|
||||
"id": "H-019",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Dongbei's Back S01 2026 2160p WEB-DL H.265 HDR AAC2.0-HHWEB",
|
||||
"subtitle": "东北有个周东北 | 第09-12集 | 4K HDR | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙"
|
||||
},
|
||||
{
|
||||
"id": "H-020",
|
||||
"work": "Dongbei's Back S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Dongbei's Back S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB[东北有个周东北 | 第04集 | 4K+多规格音轨 | 类型: 剧情/喜剧 | 导演: 郭大雷 | 主演: 李佳航/吴佳怡/史元庭/刘頔/陈奕龙][422.03 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-021",
|
||||
"work": "False Memory S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "False Memory S01 2026 1080p WEB-DL H.264 AAC-HHWEB",
|
||||
"subtitle": "记忆管理局 / Memory Management Bureau | 全7集 | 1080p | 类型: 动作/科幻/动画 | 主演: 大猴/染兔/默伶 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-022",
|
||||
"work": "False Memory S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "False Memory S01 2026 2160p WEB-DL H.265 AAC-HHWEB",
|
||||
"subtitle": "记忆管理局 / Memory Management Bureau | 全7集 | 4K | 类型: 动作/科幻/动画 | 主演: 大猴/染兔/默伶 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-023",
|
||||
"work": "False Memory S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "False Memory S01 2026 2160p WEB-DL H.265 HDR AAC-HHWEB",
|
||||
"subtitle": "记忆管理局 / Memory Management Bureau | 全7集 | 4K HDR | 类型: 动作/科幻/动画 | 主演: 大猴/染兔/默伶 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-024",
|
||||
"work": "GG Bond Interstellar Mission 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "GG Bond Interstellar Mission 2024 1080p WEB-DL H264 AAC-HHWEB",
|
||||
"subtitle": "猪猪侠大电影·星际行动 | 1080p | 类型: 喜剧/科幻/动画 | 导演: 李腾栋 | 主演: 陆双/徐经纬/梁晶晶/刘青扬/陈志荣"
|
||||
},
|
||||
{
|
||||
"id": "H-025",
|
||||
"work": "GG Bond Interstellar Mission 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "GG Bond Interstellar Mission 2024 2160p WEB-DL H265 DDP5.1-HHWEB",
|
||||
"subtitle": "猪猪侠大电影·星际行动 | 4K | 类型: 喜剧/科幻/动画 | 导演: 李腾栋 | 主演: 陆双/徐经纬/梁晶晶/刘青扬/陈志荣"
|
||||
},
|
||||
{
|
||||
"id": "H-026",
|
||||
"work": "GG Bond Interstellar Mission 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "GG Bond Interstellar Mission 2024 2160p WEB-DL H265 EDR DDP5.1-HHWEB",
|
||||
"subtitle": "猪猪侠大电影·星际行动 | 4K 高码 | 类型: 喜剧/科幻/动画 | 导演: 李腾栋 | 主演: 陆双/徐经纬/梁晶晶/刘青扬/陈志荣"
|
||||
},
|
||||
{
|
||||
"id": "H-027",
|
||||
"work": "GG Bond Interstellar Mission 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "GG Bond Interstellar Mission 2024 2160p WEB-DL H265 HDR DDP5.1-HHWEB",
|
||||
"subtitle": "猪猪侠大电影·星际行动 | 4K HDR | 类型: 喜剧/科幻/动画 | 导演: 李腾栋 | 主演: 陆双/徐经纬/梁晶晶/刘青扬/陈志荣"
|
||||
},
|
||||
{
|
||||
"id": "H-028",
|
||||
"work": "Gladiator in the Theater S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Gladiator in the Theater S01 2026 1080p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "云雀叫天录 | 第32-33集 | 1080p | 类型: 剧情/古装 | 导演: 郑大圣 | 主演: 张一山/谭卓/曹磊/杨立新/刘威"
|
||||
},
|
||||
{
|
||||
"id": "H-029",
|
||||
"work": "Gladiator in the Theater S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Gladiator in the Theater S01 2026 2160p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "云雀叫天录 | 第32-33集 | 4K | 类型: 剧情/古装 | 导演: 郑大圣 | 主演: 张一山/谭卓/曹磊/杨立新/刘威"
|
||||
},
|
||||
{
|
||||
"id": "H-030",
|
||||
"work": "GuAn S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "GuAn S01 2026 1080p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "一斩苍穹 / 一斩苍穹 3D动画版 / 一斩苍穹之起于劫火+魔渊浮沉+归心证道+倾天覆难+遗迹灾变 / Gu An | 第11集 | 1080p | 类型: 喜剧/动作/动画 | 导演: 大田/阿干 | 主演: 李翰林/李雨桐/邓宥希/阎么么/黑特"
|
||||
},
|
||||
{
|
||||
"id": "H-031",
|
||||
"work": "GuAn S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "GuAn S01 2026 2160p WEB-DL H.265 AAC2.0-HHWEB",
|
||||
"subtitle": "一斩苍穹 / 一斩苍穹 3D动画版 / 一斩苍穹之起于劫火+魔渊浮沉+归心证道+倾天覆难+遗迹灾变 / Gu An | 第11集 | 4K | 类型: 喜剧/动作/动画 | 导演: 大田/阿干 | 主演: 李翰林/李雨桐/邓宥希/阎么么/黑特"
|
||||
},
|
||||
{
|
||||
"id": "H-032",
|
||||
"work": "GuAn S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "GuAn S01 2026 2160p WEB-DL H.265 HQ AAC2.0-HHWEB",
|
||||
"subtitle": "一斩苍穹 / 一斩苍穹 3D动画版 / 一斩苍穹之起于劫火+魔渊浮沉+归心证道+倾天覆难+遗迹灾变 / Gu An | 第11集 | 4K 高码 | 类型: 喜剧/动作/动画 | 导演: 大田/阿干 | 主演: 李翰林/李雨桐/邓宥希/阎么么/黑特"
|
||||
},
|
||||
{
|
||||
"id": "H-033",
|
||||
"work": "Habeas Corpus S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Habeas Corpus S01 2026 2160p NF WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "人身保护令 | 全8集 | 4K | 类型: 剧情 | 导演: Luiz Villaça | 主演: 玛乔丽·埃斯蒂亚诺/Any Gabrielly/Donna Oliveira"
|
||||
},
|
||||
{
|
||||
"id": "H-034",
|
||||
"work": "Habeas Corpus S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Habeas Corpus S01 2026 2160p NF WEB-DL H.265 DV DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "人身保护令 | 全8集 | 4K 杜比视界 | 类型: 剧情 | 导演: Luiz Villaça | 主演: 玛乔丽·埃斯蒂亚诺/Any Gabrielly/Donna Oliveira"
|
||||
},
|
||||
{
|
||||
"id": "H-035",
|
||||
"work": "Habeas Corpus S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Habeas Corpus S01 2026 2160p NF WEB-DL H.265 HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "人身保护令 | 全8集 | 4K HDR | 类型: 剧情 | 导演: Luiz Villaça | 主演: 玛乔丽·埃斯蒂亚诺/Any Gabrielly/Donna Oliveira"
|
||||
},
|
||||
{
|
||||
"id": "H-036",
|
||||
"work": "Heart Signal S09 2018",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[综艺]Heart Signal S09 2018 1080p WEB-DL H.264 AAC2.0-HHWEB[心动的信号 / 心动的信号9 第九季 | 第29-30集(第09期上+中) | 1080p | 类型: 爱情/真人秀 | 主演: 代旭/杜海涛/薛凯琪/杨超越/张纯烨][1.36 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-037",
|
||||
"work": "Heart Signal S09 2018",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[综艺]Heart Signal S09 2018 2160p WEB-DL H.265 AAC2.0-HHWEB[心动的信号 / 心动的信号9 第九季 | 第29-30集(第09期上+中) | 4K | 类型: 爱情/真人秀 | 主演: 代旭/杜海涛/薛凯琪/杨超越/张纯烨][3.48 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-038",
|
||||
"work": "Hi Come In S07 2022",
|
||||
"kind": "title_subtitle",
|
||||
"category": "403",
|
||||
"title": "Hi Come In S07 2022 2160p NF WEB-DL H.265 AAC2.0-HHWEB",
|
||||
"subtitle": "嗨!营业中 / Hi, Come in 第七季 | 第11集 | 4K | 类型: 真人秀 | 主演: 庹宗康/姚元浩/炎亚纶/吴映洁/谢炘昊"
|
||||
},
|
||||
{
|
||||
"id": "H-039",
|
||||
"work": "Interstellar",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar IMAX 2014 Bluray 1080p x264 DTS 2Audios-CMCT",
|
||||
"subtitle": "星际穿越/星际空间/星际之间/星際啟示錄(港)/星際效應(台) [IMAX版] [国英双语] [中英特效字幕] *第87届奥斯卡最佳视觉效果* Top 250 # 22"
|
||||
},
|
||||
{
|
||||
"id": "H-040",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 1080p NF WEB-DL DDP5.1 H264-HHWEB",
|
||||
"subtitle": "星际穿越 | 类型:剧情/科幻/冒险 | 主演:马修麦康纳/安妮海瑟薇/杰西卡查斯坦/麦肯吉弗依"
|
||||
},
|
||||
{
|
||||
"id": "H-041",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 1080p iTunes WEB-DL DD5 1 H264-HHWEB",
|
||||
"subtitle": "星际穿越 | 1080p | 类型: 剧情/科幻/冒险 | 导演: 克里斯托弗·诺兰 | 主演: 马修·麦康纳/安妮·海瑟薇/杰西卡·查斯坦/麦肯吉·弗依/卡西·阿弗莱克"
|
||||
},
|
||||
{
|
||||
"id": "H-042",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 2160p HDR UHD BluRay DTS-HD MA 5.1 2Audio x265 10bit-HDS",
|
||||
"subtitle": "星际穿越/Flora‘s Letter/星际/星际之间/星际启示录(港)/星际效应(台)/星际空间/星际远航 国英双语简繁/双语/原盘中字"
|
||||
},
|
||||
{
|
||||
"id": "H-043",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 2160p PROPER IMAX REMUX DV HDR10+ TrueHD 7 1 Atmos-jennaortegaUHD",
|
||||
"subtitle": "星际穿越 / 星际启示录(港) / 星际效应(台) / 星际空间 / 星际之间 / 星际远航 / 星际 / Flora's Letter / jennaortegaUHD作品 4k HDR10版本"
|
||||
},
|
||||
{
|
||||
"id": "H-044",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 2160p UHD Blu-ray Remux HEVC DTS-HD MA 5.1-PTer",
|
||||
"subtitle": "星际穿越 | 导演:克里斯托弗·诺兰 | 主演:马修·麦康纳 安妮·海瑟薇 [简+繁+英+章节]"
|
||||
},
|
||||
{
|
||||
"id": "H-045",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 2160p iTunes WEB-DL DD5 1 DV HDR H 265-HHWEB",
|
||||
"subtitle": "星际穿越 | 4K HDR+杜比视界 | 类型: 剧情/科幻/冒险 | 导演: 克里斯托弗·诺兰 | 主演: 马修·麦康纳/安妮·海瑟薇/杰西卡·查斯坦/麦肯吉·弗依/卡西·阿弗莱克"
|
||||
},
|
||||
{
|
||||
"id": "H-046",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 2160p iTunes WEB-DL DD5 1 H 265-HHWEB",
|
||||
"subtitle": "星际穿越 | 4K | 类型: 剧情/科幻/冒险 | 导演: 克里斯托弗·诺兰 | 主演: 马修·麦康纳/安妮·海瑟薇/杰西卡·查斯坦/麦肯吉·弗依/卡西·阿弗莱克"
|
||||
},
|
||||
{
|
||||
"id": "H-047",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 3Disc 2160p UHD Blu-ray HEVC DTS-HD MA 5.1-CMCT",
|
||||
"subtitle": "星际穿越/星际启示录(港)/星际效应(台)/星际空间 台版uhd三碟版 自带国配中文字幕"
|
||||
},
|
||||
{
|
||||
"id": "H-048",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 IMAX UHD BluRay 2160p 10bit HDR 2Audio DTS-HD MA 5.1 x265-beAst",
|
||||
"subtitle": "星际穿越 IMAX版/星際啟示錄(港)/星際效應(台)/英语DTS-HD MA5.1/国语TrueHD5.1/原盘英简繁&双语特效SUP字幕/章节"
|
||||
},
|
||||
{
|
||||
"id": "H-049",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 UHD Blu-ray 2016p HEVC DTS-HD MA 7 1-Pete@HDSky",
|
||||
"subtitle": "星际穿越 / Flora's Letter / 星际 / 星际之间 / 星际启示录(港) / 星际效应(台) / 星际空间 / 星际远航"
|
||||
},
|
||||
{
|
||||
"id": "H-050",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 UHD Blu-ray 2016p REMUX HEVC DTS-HD MA 5.1-HDH",
|
||||
"subtitle": "星际穿越/星际启示录(港)/星际效应(台)内封次世代国配音轨/国配特效简繁+双语国配字幕"
|
||||
},
|
||||
{
|
||||
"id": "H-051",
|
||||
"work": "Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "Interstellar 2014 UHD Blu-ray 2160p HEVC DTS-HD MA 5.1-CMCT",
|
||||
"subtitle": "星际穿越 [次时代国语] [简/繁/双语特效字幕] | 类型:剧情 / 科幻 / 冒险 | 主演: 马修·麦康纳 / 安妮·海瑟薇 / 杰西卡·查斯坦"
|
||||
},
|
||||
{
|
||||
"id": "H-052",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 1080p YK WEB-DL H.264 DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 1080p | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-053",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-054",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DV HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 杜比视界 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-055",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 DV HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 杜比视界 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-056",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-057",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-058",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K HDR 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-059",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K HDR 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-060",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第04集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-061",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-062",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Irreplaceable S01 2026 2160p YK WEB-DL H.265 HQ DTS5.1-HHWEB",
|
||||
"subtitle": "无可替代 | 第03-04集 | 4K 高码 | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋"
|
||||
},
|
||||
{
|
||||
"id": "H-063",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Irreplaceable S01 2026 1080p YK WEB-DL H.264 DTS5.1-HHWEB[无可替代 | 第03集 | 1080p | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][510.37 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-064",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 DTS5.1-HHWEB[无可替代 | 第03集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][883.42 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-065",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR DTS5.1-HHWEB[无可替代 | 第03集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][851.20 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-066",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HDR HFR DTS5.1-HHWEB[无可替代 | 第03集 | 4K HDR | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][1.01 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-067",
|
||||
"work": "Irreplaceable S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Irreplaceable S01 2026 2160p YK WEB-DL H.265 HFR DTS5.1-HHWEB[无可替代 | 第03集 | 4K | 类型: 剧情 | 导演: 陈铭章/陈世峄 | 主演: 赵今麦/魏大勋/周奇/白冰/胡意旋][1.06 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-068",
|
||||
"work": "LEGO ONE PIECE S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "LEGO ONE PIECE S01 2026 1080p NF WEB-DL H.264 DDP5.1.Atmos-HHWEB[新]",
|
||||
"subtitle": "乐高航海王 / 乐高海贼王 | 全2集 | 1080p | 类型: 剧情/喜剧/动作"
|
||||
},
|
||||
{
|
||||
"id": "H-069",
|
||||
"work": "Lanterns S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Lanterns S01 2026 1080p HMAX WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "绿灯军团 / 绿光军团(台) / 灯侠 / 灯团 / 绿灯侠 / Green Lantern / Lantern | 第07集 | 1080p | 类型: 剧情/动作/科幻 | 导演: 詹姆斯·霍斯/斯蒂芬·威廉姆斯 | 主演: 凯尔·钱德勒/亚伦·皮埃尔/凯莉·麦克唐纳/加瑞特·迪拉胡特/普娜·贾甘纳坦"
|
||||
},
|
||||
{
|
||||
"id": "H-070",
|
||||
"work": "Lanterns S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Lanterns S01 2026 2160p HMAX WEB-DL H.265 DV DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "绿灯军团 / 绿光军团(台) / 灯侠 / 灯团 / 绿灯侠 / Green Lantern / Lantern | 第07集 | 4K 杜比视界 | 类型: 剧情/动作/科幻 | 导演: 詹姆斯·霍斯/斯蒂芬·威廉姆斯 | 主演: 凯尔·钱德勒/亚伦·皮埃尔/凯莉·麦克唐纳/加瑞特·迪拉胡特/普娜·贾甘纳坦"
|
||||
},
|
||||
{
|
||||
"id": "H-071",
|
||||
"work": "Lanterns S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Lanterns S01 2026 2160p HMAX WEB-DL H.265 DV HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "绿灯军团 / 绿光军团(台) / 灯侠 / 灯团 / 绿灯侠 / Green Lantern / Lantern | 第07集 | 4K HDR+杜比视界 | 类型: 剧情/动作/科幻 | 导演: 詹姆斯·霍斯/斯蒂芬·威廉姆斯 | 主演: 凯尔·钱德勒/亚伦·皮埃尔/凯莉·麦克唐纳/加瑞特·迪拉胡特/普娜·贾甘纳坦"
|
||||
},
|
||||
{
|
||||
"id": "H-072",
|
||||
"work": "Live Forever S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Live Forever S01 2026 1080p WEB-DL H.264 AAC-HHWEB",
|
||||
"subtitle": "长生契 / 长生 | 第12集 | 1080p | 类型: 奇幻 | 主演: 方逸伦/谢可寅/姚弛 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-073",
|
||||
"work": "Live Forever S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Live Forever S01 2026 2160p WEB-DL H.264 AAC-HHWEB",
|
||||
"subtitle": "长生契 / 长生 | 第12集 | 4K | 类型: 奇幻 | 主演: 方逸伦/谢可寅/姚弛 [内嵌中字]"
|
||||
},
|
||||
{
|
||||
"id": "H-074",
|
||||
"work": "Not a Stranger S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Not a Stranger S01 2026 2160p NF WEB-DL H.265 DDP5.1-HHWEB",
|
||||
"subtitle": "不识陌生人 / I Know You | 全8集 | 4K | 类型: 剧情/惊悚 | 导演: 默特·贝卡尔 | 主演: 梅丽斯·塞森/奥赞·多卢奈/艾尔钦·桑古/埃布鲁·沙欣"
|
||||
},
|
||||
{
|
||||
"id": "H-075",
|
||||
"work": "Not a Stranger S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Not a Stranger S01 2026 2160p NF WEB-DL H.265 DV DDP5.1-HHWEB",
|
||||
"subtitle": "不识陌生人 / I Know You | 全8集 | 4K 杜比视界 | 类型: 剧情/惊悚 | 导演: 默特·贝卡尔 | 主演: 梅丽斯·塞森/奥赞·多卢奈/艾尔钦·桑古/埃布鲁·沙欣"
|
||||
},
|
||||
{
|
||||
"id": "H-076",
|
||||
"work": "Not a Stranger S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Not a Stranger S01 2026 2160p NF WEB-DL H.265 HDR DDP5.1-HHWEB",
|
||||
"subtitle": "不识陌生人 / I Know You | 全8集 | 4K HDR | 类型: 剧情/惊悚 | 导演: 默特·贝卡尔 | 主演: 梅丽斯·塞森/奥赞·多卢奈/艾尔钦·桑古/埃布鲁·沙欣"
|
||||
},
|
||||
{
|
||||
"id": "H-077",
|
||||
"work": "One Hundred Thousand Years Of Qi Refining S01 2023",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "One Hundred Thousand Years Of Qi Refining S01 2023 2160p WEB-DL H.265 AAC2.0-HHWEB",
|
||||
"subtitle": "炼气十万年 / One Hundred Thousand Years of Qi Refining / 100,000 Years of Qi Refining | 第381集 | 4K | 类型: 动作/动画/奇幻 | 导演: 李廷赫 | 主演: 袁铭喆/朱蓉蓉/夜渡于野/孙睿扬/王曼诗"
|
||||
},
|
||||
{
|
||||
"id": "H-078",
|
||||
"work": "One Hundred Thousand Years Of Qi Refining S01 2023",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]One Hundred Thousand Years Of Qi Refining S01 2023 1080p WEB-DL H.264 AAC2.0-HHWEB[炼气十万年 / One Hundred Thousand Years of Qi Refining / 100,000 Years of Qi Refining | 第381集 | 1080p | 类型: 动作/动画/奇幻 | 导演: 李廷赫 | 主演: 袁铭喆/朱蓉蓉/夜渡于野/孙睿扬/王曼诗][213.58 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-079",
|
||||
"work": "Peerless Battle Spirit S02 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "Peerless Battle Spirit S02 2024 1080p WEB-DL H.264 AAC2.0-HHWEB",
|
||||
"subtitle": "绝世战魂 / Super Heroic Spirit 2 第二季 | 第28集 | 1080p | 类型: 动作/动画/奇幻 | 导演: 刘樟/陈凌超 | 主演: 依晨/九华/赵致羽/子兮/徐阿木"
|
||||
},
|
||||
{
|
||||
"id": "H-080",
|
||||
"work": "Peerless Battle Spirit S02 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "Peerless Battle Spirit S02 2024 2160p WEB-DL H.265 EDR AAC2.0-HHWEB",
|
||||
"subtitle": "绝世战魂 / Super Heroic Spirit 2 第二季 | 第28集 | 4K 高码 | 类型: 动作/动画/奇幻 | 导演: 刘樟/陈凌超 | 主演: 依晨/九华/赵致羽/子兮/徐阿木"
|
||||
},
|
||||
{
|
||||
"id": "H-081",
|
||||
"work": "Peerless Battle Spirit S02 2024",
|
||||
"kind": "title_subtitle",
|
||||
"category": "405",
|
||||
"title": "Peerless Battle Spirit S02 2024 2160p WEB-DL H.265 HDR AAC2.0-HHWEB",
|
||||
"subtitle": "绝世战魂 / Super Heroic Spirit 2 第二季 | 第28集 | 4K HDR | 类型: 动作/动画/奇幻 | 导演: 刘樟/陈凌超 | 主演: 依晨/九华/赵致羽/子兮/徐阿木"
|
||||
},
|
||||
{
|
||||
"id": "H-082",
|
||||
"work": "Shaque Trust No One S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Shaque Trust No One S01 2026 2160p NF WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "寻女无归途 / शक: ट्रस्ट नो वन / Shaque: Trust No One | 全7集 | 4K | 类型: 电视剧 | 导演: 伦齐尔·达席尔瓦 | 主演: 帕丽莱蒂·曹帕拉/萨米特·维亚斯/Jennifer Winget/塔希尔·拉吉·巴辛/Harleen Sethi"
|
||||
},
|
||||
{
|
||||
"id": "H-083",
|
||||
"work": "Shaque Trust No One S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Shaque Trust No One S01 2026 2160p NF WEB-DL H.265 DV DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "寻女无归途 / शक: ट्रस्ट नो वन / Shaque: Trust No One | 全7集 | 4K 杜比视界 | 类型: 电视剧 | 导演: 伦齐尔·达席尔瓦 | 主演: 帕丽莱蒂·曹帕拉/萨米特·维亚斯/Jennifer Winget/塔希尔·拉吉·巴辛/Harleen Sethi"
|
||||
},
|
||||
{
|
||||
"id": "H-084",
|
||||
"work": "Shaque Trust No One S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "Shaque Trust No One S01 2026 2160p NF WEB-DL H.265 HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "寻女无归途 / शक: ट्रस्ट नो वन / Shaque: Trust No One | 全7集 | 4K HDR | 类型: 电视剧 | 导演: 伦齐尔·达席尔瓦 | 主演: 帕丽莱蒂·曹帕拉/萨米特·维亚斯/Jennifer Winget/塔希尔·拉吉·巴辛/Harleen Sethi"
|
||||
},
|
||||
{
|
||||
"id": "H-085",
|
||||
"work": "Spark of the Long March S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p IQ WEB-DL H.265 DDP5.1 2Audios-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K+多规格音轨 | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][2.76 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-086",
|
||||
"work": "Spark of the Long March S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p WEB-DL H.265 EDR AAC2.0-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K 高码 | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][2.48 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-087",
|
||||
"work": "Spark of the Long March S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Spark of the Long March S01 2026 2160p WEB-DL H.265 HDR AAC2.0-HHWEB[征途 / 星火征途 / 多杰的长征 | 第07-08集 | 4K HDR | 类型: 历史 | 导演: 王伟民 | 主演: 李健/张宁江/吴其江/林江国/侯京健][9.27 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-088",
|
||||
"work": "Spring of the Blade S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[电视剧]Spring of the Blade S01 2026 2160p YK WEB-DL H.265 DV HFR HQ AAC2.0-HHWEB[一瓯春 | 第20-24集 | 4K 高码 杜比视界 | 类型: 爱情/古装 | 导演: 潘安子 | 主演: 许凯/周也/白澍/闵春晓/柯颖][26.37 GB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-089",
|
||||
"work": "Stay Low Profile S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Stay Low Profile S01 2026 1080p WEB-DL H.264 AAC-HHWEB[掌门低调点 / Stay Low Profile, Sect Chief | 第32集 | 1080p | 类型: 喜剧/动作/动画 | 主演: 宁冀荣/子兮/三方方 [内嵌中字]][191.56 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-090",
|
||||
"work": "Stay Low Profile S01 2026",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Stay Low Profile S01 2026 1080p WEB-DL H.265 HDR AAC-HHWEB[掌门低调点 / Stay Low Profile, Sect Chief | 第32集 | 1080p HDR | 类型: 喜剧/动作/动画 | 主演: 宁冀荣/子兮/三方方 [内嵌中字]][136.33 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-091",
|
||||
"work": "Ten Thousand Worlds S01 2021",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Ten Thousand Worlds S01 2021 1080p WEB-DL H.264 AAC2.0-HHWEB[万界独尊 | 第468集 | 1080p | 类型: 动画 | 导演: 叶老酒/酱紫 | 主演: 王大伟/柳知萧/陆敏悦 Minyue Lu/黄骥/关帅][213.89 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-092",
|
||||
"work": "Ten Thousand Worlds S01 2021",
|
||||
"kind": "rss_bracket",
|
||||
"category": null,
|
||||
"title": "[动漫]Ten Thousand Worlds S01 2021 2160p WEB-DL H.265 AAC2.0-HHWEB[万界独尊 | 第468集 | 4K | 类型: 动画 | 导演: 叶老酒/酱紫 | 主演: 王大伟/柳知萧/陆敏悦 Minyue Lu/黄骥/关帅][459.44 MB]",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-093",
|
||||
"work": "The Crow Club S01 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "402",
|
||||
"title": "The Crow Club S01 2026 2160p NF WEB-DL H.265 AAC2.0-HHWEB",
|
||||
"subtitle": "乌鸦俱乐部 | 第01集 | 4K | 类型: 剧情/爱情/奇幻 | 导演: 诺帕奇·贾亚纳玛 | 主演: 赫马维奇·卡皖纳姆派潘/塔纳朋·艾恩坤柴/帕塔拉菲尔·万洛普西里"
|
||||
},
|
||||
{
|
||||
"id": "H-094",
|
||||
"work": "The Science of Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "404",
|
||||
"title": "The Science of Interstellar 2014 BluRay 720p x264 AC3-CMCT",
|
||||
"subtitle": "星际穿越中的科学 [中英字幕]"
|
||||
},
|
||||
{
|
||||
"id": "H-095",
|
||||
"work": "UNABOMBER 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "UNABOMBER 2026 2160p NF WEB-DL H.265 DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "大学炸弹客 / 追踪炸弹客 / 炸弹客 | 4K | 类型: 剧情/惊悚/犯罪 | 导演: 雅努斯·梅兹 | 主演: 罗素·克劳/雅各布·特伦布莱/谢琳·伍德蕾/安娜贝拉·沃丽丝/马克·门查卡"
|
||||
},
|
||||
{
|
||||
"id": "H-096",
|
||||
"work": "UNABOMBER 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "UNABOMBER 2026 2160p NF WEB-DL H.265 DV DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "大学炸弹客 / 追踪炸弹客 / 炸弹客 | 4K 杜比视界 | 类型: 剧情/惊悚/犯罪 | 导演: 雅努斯·梅兹 | 主演: 罗素·克劳/雅各布·特伦布莱/谢琳·伍德蕾/安娜贝拉·沃丽丝/马克·门查卡"
|
||||
},
|
||||
{
|
||||
"id": "H-097",
|
||||
"work": "UNABOMBER 2026",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "UNABOMBER 2026 2160p NF WEB-DL H.265 HDR DDP5.1.Atmos-HHWEB",
|
||||
"subtitle": "大学炸弹客 / 追踪炸弹客 / 炸弹客 | 4K HDR | 类型: 剧情/惊悚/犯罪 | 导演: 雅努斯·梅兹 | 主演: 罗素·克劳/雅各布·特伦布莱/谢琳·伍德蕾/安娜贝拉·沃丽丝/马克·门查卡"
|
||||
},
|
||||
{
|
||||
"id": "H-098",
|
||||
"work": "星际穿越 Interstellar 2014",
|
||||
"kind": "title_subtitle",
|
||||
"category": "401",
|
||||
"title": "星际穿越 Interstellar 2014 BluRay 2160p x265.10bit 4Audio mUHD-FRDS",
|
||||
"subtitle": null
|
||||
},
|
||||
{
|
||||
"id": "H-099",
|
||||
"work": "一纸报告,看穿人心",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "一纸报告,看穿人心 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "一纸报告,看穿人心 | 全60集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-100",
|
||||
"work": "丈夫的温柔陷阱",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "丈夫的温柔陷阱 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "丈夫的温柔陷阱 | 全30集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-101",
|
||||
"work": "不好意思,我开挂了",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "不好意思,我开挂了 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "不好意思,我开挂了 | 全96集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-102",
|
||||
"work": "不婚主义",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "不婚主义 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "不婚主义 | 全47集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-103",
|
||||
"work": "京夜喜你",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "京夜喜你 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "京夜喜你 | 全41集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-104",
|
||||
"work": "人中之龙第一季",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "人中之龙第一季 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "人中之龙第一季 | 全98集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-105",
|
||||
"work": "今天有朵云爱我",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "今天有朵云爱我 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "今天有朵云爱我 | 全66集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-106",
|
||||
"work": "他的温柔蓄谋已久",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "他的温柔蓄谋已久 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "他的温柔蓄谋已久 | 全60集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-107",
|
||||
"work": "儿媳房间的秘密",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "儿媳房间的秘密 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "儿媳房间的秘密 | 全60集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-108",
|
||||
"work": "全府偷听我和闺蜜心声被带飞",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "全府偷听我和闺蜜心声被带飞 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "全府偷听我和闺蜜心声被带飞 | 全72集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-109",
|
||||
"work": "全村都在看,影帝下地狂追前女友",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "全村都在看,影帝下地狂追前女友 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "全村都在看,影帝下地狂追前女友 | 全45集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-110",
|
||||
"work": "公公甩资让我离婚,前夫婚礼上我惊艳全场",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "公公甩资让我离婚,前夫婚礼上我惊艳全场 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "公公甩资让我离婚,前夫婚礼上我惊艳全场 | 全57集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-111",
|
||||
"work": "再造宋骨",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "再造宋骨 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "再造宋骨 | 全93集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-112",
|
||||
"work": "冥王归来,专治大小姐不服",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "冥王归来,专治大小姐不服 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "冥王归来,专治大小姐不服 | 全98集 | 1080p"
|
||||
},
|
||||
{
|
||||
"id": "H-113",
|
||||
"work": "凡人无惧之躯",
|
||||
"kind": "short_drama",
|
||||
"category": "412",
|
||||
"title": "凡人无惧之躯 1080p WEB-DL H265 AAC-HHWEB",
|
||||
"subtitle": "凡人无惧之躯 | 全87集 | 1080p"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1467,6 +1467,18 @@
|
||||
"mp": null,
|
||||
"ours": "swtyblz",
|
||||
"note": "未知发布组兜底(末段 -GROUP / 开头方括号),MP 组表未命中为 None"
|
||||
},
|
||||
"name": {
|
||||
"kind": "intentional",
|
||||
"mp": "thematrix",
|
||||
"ours": "黑客帝国",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
},
|
||||
"cn_name": {
|
||||
"kind": "intentional",
|
||||
"mp": null,
|
||||
"ours": "黑客帝国",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
}
|
||||
},
|
||||
"Z-17": {
|
||||
@@ -1554,6 +1566,48 @@
|
||||
"ours": "douban:35593344",
|
||||
"note": "MP 不认 {doubanid=..} 花括号写法,我们认"
|
||||
}
|
||||
},
|
||||
"MP-61": {
|
||||
"name": {
|
||||
"kind": "intentional",
|
||||
"mp": "iwokeupavampire",
|
||||
"ours": "醒来变成吸血鬼",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
},
|
||||
"cn_name": {
|
||||
"kind": "intentional",
|
||||
"mp": null,
|
||||
"ours": "醒来变成吸血鬼",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
}
|
||||
},
|
||||
"MP-62": {
|
||||
"name": {
|
||||
"kind": "intentional",
|
||||
"mp": "shadowsofthevoid",
|
||||
"ours": "虚无边境",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
},
|
||||
"cn_name": {
|
||||
"kind": "intentional",
|
||||
"mp": null,
|
||||
"ours": "虚无边境",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
}
|
||||
},
|
||||
"Z-15": {
|
||||
"name": {
|
||||
"kind": "intentional",
|
||||
"mp": "duneparttwo",
|
||||
"ours": "沙丘2",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
},
|
||||
"cn_name": {
|
||||
"kind": "intentional",
|
||||
"mp": null,
|
||||
"ours": "沙丘2",
|
||||
"note": "ID-2:副标题第一段的中文片名补作中文名(MP 副标题只取季集),见 docs/porting/moviepilot-identity-match.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
/** ID-2:副标题 / RSS 内嵌描述片名、分类前缀、续作序号、通用词守卫、评分权重与同级取舍 */
|
||||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
DEFAULT_MATCH_WEIGHTS,
|
||||
type IdentityCandidate,
|
||||
isGenericAliasName,
|
||||
normalizeTitle,
|
||||
parseRelease,
|
||||
queryTitles,
|
||||
resolveIdentity,
|
||||
scoreCandidate,
|
||||
sequelNumbers,
|
||||
} from "../src/index.ts";
|
||||
|
||||
const tv = (id: string, titles: string[], year: number, over: Partial<IdentityCandidate> = {}): IdentityCandidate => ({
|
||||
provider: "tmdb",
|
||||
entityType: "tv",
|
||||
externalId: id,
|
||||
titles,
|
||||
year,
|
||||
aliases: [],
|
||||
...over,
|
||||
});
|
||||
|
||||
describe("解析:分类前缀、内嵌描述、副标题片名", () => {
|
||||
it("RSS `[动漫]英文名 … -GRP[中文名 / 别名 | 第N集 | …][体积]`", () => {
|
||||
const p = parseRelease(
|
||||
"[动漫]Martial Master S01 2020 1080p WEB-DL H.264 AAC2.0-HHWEB[武神主宰 / 武神主宰 第一季 / The God of War Dominates | 第685集 | 1080p | 类型: 动画/奇幻/冒险 | 导演: 老鹰][180.86 MB]",
|
||||
);
|
||||
expect(p).toMatchObject({
|
||||
category: "动漫",
|
||||
titleCn: "武神主宰",
|
||||
titleEn: "Martial Master",
|
||||
year: 2020,
|
||||
season: 1,
|
||||
episodes: { start: 685, end: 685 },
|
||||
altTitles: ["武神主宰 第一季", "The God of War Dominates"],
|
||||
});
|
||||
expect(p.evidence).toContain("subtitle:embedded");
|
||||
});
|
||||
it("分类词不当片名:[电视剧] / [音乐] / [综艺]", () => {
|
||||
for (const c of ["电视剧", "音乐", "综艺", "纪录片", "短剧", "游戏", "软件", "学习", "其他"]) {
|
||||
const p = parseRelease(`[${c}]Some Title S01 2026 1080p WEB-DL-GRP`);
|
||||
expect(p.category, c).toBe(c);
|
||||
expect(p.titleCn, c).toBeUndefined();
|
||||
}
|
||||
});
|
||||
it("数字紧跟普通单词是片名的一部分,不是集号(`Travis - 12 Memories`)", () => {
|
||||
const p = parseRelease("[音乐]Travis - 12 Memories (2003) - WEB-DL - 16bit ALAC-HHWEB");
|
||||
expect(p.episodes).toBeUndefined();
|
||||
expect(p.titleEn).toContain("12 Memories");
|
||||
expect(parseRelease("[Sub] Some Anime - 12 [1080p]").episodes).toEqual({ start: 12, end: 12 });
|
||||
expect(parseRelease("Some Anime - 05 END [1080p]").episodes).toEqual({ start: 5, end: 5 });
|
||||
});
|
||||
it("副标题第一段:主标题没有中文名时取第一个中文名,其余进 altTitles;字幕/简介字段不算片名", () => {
|
||||
const p = parseRelease("Archives S01 2009 1080p WEB-DL H.264 AAC-HHWEB", {
|
||||
subtitle: "档案 / 档案解密 | 第152集 | 1080p | 类型: 纪录片/历史 | 主演: 石凉 [内嵌中字]",
|
||||
});
|
||||
expect(p).toMatchObject({ titleCn: "档案", titleEn: "Archives", altTitles: ["档案解密"], year: 2009 });
|
||||
const q = parseRelease("Interstellar 2014 2160p UHD Blu-ray-GRP", {
|
||||
subtitle: "星际穿越 IMAX版/星際啟示錄(港)/英语DTS-HD MA5.1/原盘英简繁&双语特效SUP字幕/章节",
|
||||
});
|
||||
expect(q.titleCn).toBe("星际穿越");
|
||||
expect(q.altTitles).toEqual(["星際啟示錄"]);
|
||||
expect(parseRelease("Some Movie 2020 1080p-GRP", { subtitle: "官方中字 | 特效字幕" }).titleCn).toBeUndefined();
|
||||
});
|
||||
it("通用词不进比对名称", () => {
|
||||
expect(isGenericAliasName(normalizeTitle("电视剧"))).toBe(true);
|
||||
expect(isGenericAliasName("剧")).toBe(true);
|
||||
expect(isGenericAliasName("tv")).toBe(true);
|
||||
expect(isGenericAliasName(normalizeTitle("档案"))).toBe(false);
|
||||
const p = parseRelease("Lanterns 2026 1080p-GRP");
|
||||
expect(queryTitles({ ...p, titleCn: "电视剧" })).toEqual(["lanterns"]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("续作 / 章节序号", () => {
|
||||
it("Chapter / Part / 第N章 / 罗马数字符号", () => {
|
||||
expect(sequelNumbers("Mononoke The Movie Chapter III The Curse of the Serpent")).toEqual([3]);
|
||||
expect(sequelNumbers("剧场版物怪:第 3 章:蛇神")).toEqual([3]);
|
||||
expect(sequelNumbers("劇場版モノノ怪 第三章 蛇神")).toEqual([3]);
|
||||
expect(sequelNumbers("Mononoke the Movie: Chapter Ⅱ")).toEqual([2]);
|
||||
expect(sequelNumbers("Dune Part Two")).toEqual([2]);
|
||||
expect(sequelNumbers("Blade Runner 2049")).toEqual([]);
|
||||
});
|
||||
it("序号冲突直接拒绝,一致加分", () => {
|
||||
const p = parseRelease("Mononoke The Movie Chapter III The Curse of the Serpent 2026 1080p NF WEB-DL-HHWEB");
|
||||
const c3: IdentityCandidate = {
|
||||
provider: "tmdb",
|
||||
entityType: "movie",
|
||||
externalId: "3",
|
||||
titles: ["剧场版物怪:第 3 章:蛇神"],
|
||||
aliases: ["Mononoke the Movie: Chapter III - The Curse of the Serpent"],
|
||||
year: 2026,
|
||||
};
|
||||
const c2 = {
|
||||
...c3,
|
||||
externalId: "2",
|
||||
titles: ["剧场版物怪:第 2 章:火鼠"],
|
||||
aliases: ["Mononoke the Movie: Chapter II"],
|
||||
};
|
||||
expect(scoreCandidate(p, c3).signals.sequel).toBe("match");
|
||||
expect(scoreCandidate(p, c2).level).toBe("rejected");
|
||||
expect(resolveIdentity(p, [c2, c3]).best?.candidate.externalId).toBe("3");
|
||||
});
|
||||
});
|
||||
|
||||
describe("证据:中英名、通用词、别名佐证、同级取舍", () => {
|
||||
it("中文名精确 + 年份精确 → rule_confirmed;唯一候选 → auto", () => {
|
||||
const p = parseRelease("Martial Master S01 2020 1080p WEB-DL-HHWEB", { subtitle: "武神主宰 | 第685集" });
|
||||
const r = resolveIdentity(p, [tv("110181", ["武神主宰"], 2020), tv("228707", ["武神主宰"], 2023)]);
|
||||
expect(r).toMatchObject({ status: "auto", best: { level: "rule_confirmed" } });
|
||||
expect(r.best?.candidate.externalId).toBe("110181");
|
||||
});
|
||||
it("通用英文词只靠别名命中且池里撞名 → 封顶 needs_confirm;中文名命中则确认", () => {
|
||||
const noCn = parseRelease("Archives S01 2009 1080p WEB-DL-HHWEB");
|
||||
const pool = [
|
||||
tv("201401", ["档案"], 2009, { aliases: ["Archives"] }),
|
||||
tv("1", ["Archives secrètes"], 2021),
|
||||
tv("2", ["Mystères d'archives"], 2009),
|
||||
tv("3", ["The Magnus Archives"], 2016),
|
||||
];
|
||||
const r = resolveIdentity(noCn, pool);
|
||||
expect(r.status).toBe("ambiguous");
|
||||
expect(r.best?.evidence).toContain("generic_name");
|
||||
const withCn = parseRelease("Archives S01 2009 1080p WEB-DL-HHWEB", { subtitle: "档案 | 第152集" });
|
||||
expect(resolveIdentity(withCn, pool)).toMatchObject({
|
||||
status: "auto",
|
||||
best: { candidate: { externalId: "201401" } },
|
||||
});
|
||||
});
|
||||
it("别名命中需要年份或第二种文字的名称佐证", () => {
|
||||
const p = parseRelease("人中之龙第一季 1080p WEB-DL H265 AAC-HHWEB", {
|
||||
subtitle: "人中之龙第一季 | 全98集 | 1080p",
|
||||
});
|
||||
const r = scoreCandidate(p, tv("256116", ["如龙", "龍が如く"], 2024, { aliases: ["人中之龙"] }));
|
||||
expect(r.level).toBe("needs_confirm");
|
||||
expect(r.evidence).toContain("alias_uncorroborated");
|
||||
});
|
||||
it("同级多候选:年份精确优先,再按命中的名称文字种数", () => {
|
||||
const p = parseRelease("A Prophet S01 2026 2160p TX WEB-DL-HHWEB", { subtitle: "我不是大师 / 长风起 | 第05集" });
|
||||
const right = tv("289078", ["我不是大师"], 2026, { aliases: ["A Prophet"] });
|
||||
const other = tv("224006", ["预言者", "Un prophète", "A Prophet"], 2026);
|
||||
const r = resolveIdentity(p, [other, right]);
|
||||
expect(r.status).toBe("auto");
|
||||
expect(r.best?.candidate.externalId).toBe("289078");
|
||||
expect(r.reason).toBe("rule_confirmed:tie_break");
|
||||
// 完全对称 → 仍进池
|
||||
expect(resolveIdentity(p, [tv("1", ["我不是大师"], 2026), tv("2", ["我不是大师"], 2026)]).status).toBe("ambiguous");
|
||||
});
|
||||
it("季号不在候选季列表里扣分", () => {
|
||||
const p = parseRelease("Heart Signal S09 2018 1080p WEB-DL-HHWEB");
|
||||
const r = scoreCandidate(p, tv("72976", ["Heart Signal"], 2018, { seasonNumbers: [1, 2, 3, 4] }));
|
||||
expect(r.evidence).toContain("season:missing");
|
||||
expect(r.level).toBe("needs_confirm");
|
||||
});
|
||||
it("权重表可覆盖", () => {
|
||||
const p = parseRelease("Oppenheimer 2023 1080p-GRP");
|
||||
const c: IdentityCandidate = {
|
||||
provider: "tmdb",
|
||||
entityType: "movie",
|
||||
externalId: "1",
|
||||
titles: ["Oppenheimer"],
|
||||
year: 2023,
|
||||
aliases: [],
|
||||
};
|
||||
expect(scoreCandidate(p, c).level).toBe("rule_confirmed");
|
||||
expect(
|
||||
scoreCandidate(p, c, { weights: { thresholds: { ...DEFAULT_MATCH_WEIGHTS.thresholds, rule_confirmed: 9 } } })
|
||||
.level,
|
||||
).toBe("multi_evidence");
|
||||
});
|
||||
});
|
||||
@@ -566,7 +566,13 @@ const MP_PARITY: Sample[] = [
|
||||
subtitle: "麦香 | 全36集 | 4K",
|
||||
expect: { titleCn: "麦香", title: "麦香" },
|
||||
},
|
||||
{ id: "M4b", input: "Blade Runner 2017 1080p WEB-DL", subtitle: "银翼杀手 | 科幻", expect: { titleCn: undefined } },
|
||||
// ID-2:副标题第一段的中文片名补作中文名(M4b 原先断言不取)
|
||||
{
|
||||
id: "M4b",
|
||||
input: "Blade Runner 2017 1080p WEB-DL",
|
||||
subtitle: "银翼杀手 | 科幻",
|
||||
expect: { titleCn: "银翼杀手", titleEn: "Blade Runner" },
|
||||
},
|
||||
{ id: "M5", input: "Thor Love and Thunder (2022) [1080p] [WEBRip] [5.1]", expect: { audio: ["5.1"] } },
|
||||
{
|
||||
id: "M6",
|
||||
@@ -629,7 +635,7 @@ describe("parseRelease 样本表", () => {
|
||||
it(`${s.id} ${s.input}${s.deviation ? ` [deviation: ${s.deviation}]` : ""}`, () => {
|
||||
const r = parseRelease(s.input, s.subtitle ? { subtitle: s.subtitle } : {});
|
||||
check(r, s.expect);
|
||||
expect(r.parserVersion).toBe(1);
|
||||
expect(r.parserVersion).toBe(2);
|
||||
expect(r.raw).toBe(s.input);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ import {
|
||||
DEFAULT_TEMPLATES,
|
||||
evaluateCandidate,
|
||||
type IdentityCandidate,
|
||||
PARSER_VERSION,
|
||||
parseRelease,
|
||||
planOrganize,
|
||||
resolveIdentity,
|
||||
@@ -237,7 +238,7 @@ describe("SiteRelease ↔ source_release", () => {
|
||||
expect(C.SourceReleaseCreate.safeParse(create).success).toBe(true);
|
||||
expect(create).toMatchObject({ siteId: U(40), infohashV1: "a".repeat(40), infohashV2: null, categoryRaw: "401" });
|
||||
expect(JSON.stringify(create)).not.toContain("download.php");
|
||||
expect(create.parserVersion).toBe("1");
|
||||
expect(create.parserVersion).toBe(String(PARSER_VERSION));
|
||||
});
|
||||
|
||||
it("source_release 行还原为 SiteReleaseLike(下载入口除外)", () => {
|
||||
|
||||
Reference in new issue
Block a user