Merge branch 'md1'

# Conflicts:
#	packages/contracts/src/settings.ts
This commit is contained in:
root committed 2026-09-29 17:42:31 +08:00
commit b633eb5379
30 files changed
+3240 -222

No files matched your search

+11
View File
@@ -257,6 +257,17 @@ export class TmdbClient {
}
}
/**
* 原始 JSON 请求(走同一套缓存 / 限流 / 重试 / 脱敏):details.ts 的多语言详情、季集详情用。
* path 以 `/` 开头(不含 /3 前缀),params 不含凭证。
*/
async getJson<T = Record<string, unknown>>(
path: string,
params: Record<string, string | undefined> = {},
): Promise<T> {
return this.get<T>(path, params);
}
/** 单语言原始搜索(匹配链使用,对照 MP search.movies/tv_shows,语言取首选)。 */
async searchRaw(type: MediaEntityType, query: string, year?: string | number): Promise<MetadataCandidate[]> {
const lang = this.langs[0]!;