diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 4b1e3381..0d25aede 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1504,6 +1504,9 @@ export default { recognizePluginFirst: 'Prioritize Plugin Recognition', recognizePluginFirstHint: 'Prioritize calling plugins for media recognition. If a plugin matches, native recognition will be skipped', + mediaRecognizeShare: 'Use Shared Media Recognition', + mediaRecognizeShareHint: + 'Report successful keyword to media ID mappings and reuse shared recognition results when local recognition fails', githubProxy: 'Github Acceleration Proxy', githubProxyPlaceholder: 'Leave empty for no proxy', githubProxyHint: 'Use proxy to accelerate Github access speed', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index e23ecb24..704f36ea 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1486,6 +1486,8 @@ export default { fanartLangHint: '设置Fanart图片的语言偏好,多选时按优先级顺序排列', recognizePluginFirst: "优先使用插件识别", recognizePluginFirstHint: "优先调用插件识别媒体信息,若插件命中则不再调用原生识别", + mediaRecognizeShare: '共享使用媒体识别数据', + mediaRecognizeShareHint: '识别成功后上报关键字与媒体ID,识别失败时优先回查共享识别结果', githubProxy: 'Github加速代理', githubProxyPlaceholder: '留空表示不使用代理', githubProxyHint: '使用代理加速Github访问速度', diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index 501886a4..88133e12 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -1488,6 +1488,8 @@ export default { fanartLangHint: '設定Fanart圖片的語言偏好,多選時按優先級順序排列', recognizePluginFirst: '優先使用插件識別', recognizePluginFirstHint: '優先調用插件識別媒體信息,若插件命中則不再調用原生識別', + mediaRecognizeShare: '共享使用媒體識別數據', + mediaRecognizeShareHint: '識別成功後上報關鍵字與媒體ID,識別失敗時優先回查共享識別結果', githubProxy: 'Github加速代理', githubProxyPlaceholder: '留空表示不使用代理', githubProxyHint: '使用代理加速Github訪問速度', diff --git a/src/views/setting/AccountSettingSystem.vue b/src/views/setting/AccountSettingSystem.vue index 9716f73a..e67753d4 100644 --- a/src/views/setting/AccountSettingSystem.vue +++ b/src/views/setting/AccountSettingSystem.vue @@ -74,6 +74,7 @@ const SystemSettings = ref({ MOVIEPILOT_AUTO_UPDATE: false, // 媒体 RECOGNIZE_PLUGIN_FIRST: false, + MEDIA_RECOGNIZE_SHARE: true, TMDB_API_DOMAIN: null, TMDB_IMAGE_DOMAIN: null, TMDB_LOCALE: null, @@ -1028,13 +1029,15 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => { { + if (typeof value === 'object' && value !== null) { + setBaseUrlPreset(value.id, value.value) + } else { + setBaseUrlPreset('', value || '') + } } - }" + " :label="t('setting.system.llmBaseUrl')" :hint="t('setting.system.llmBaseUrlHint')" :placeholder="selectedLlmProvider?.default_base_url || 'https://api.deepseek.com'" @@ -1060,10 +1063,7 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => { prepend-inner-icon="mdi-key-variant" /> - +
@@ -1072,7 +1072,11 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => { {{ selectedLlmProvider?.description || t('setting.system.llmProviderAuthHint') }}
- {{ t('setting.system.llmProviderConnectedAs', { label: llmProviderAuthLabel || selectedLlmProvider?.name }) }} + {{ + t('setting.system.llmProviderConnectedAs', { + label: llmProviderAuthLabel || selectedLlmProvider?.name, + }) + }}
@@ -1105,10 +1109,12 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => {
{ persistent-hint /> + + + + + + + + + + { /> - - - - - @@ -2038,12 +2054,7 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => { {{ t('setting.system.llmProviderOpenAuthPage') }} - + {{ t('setting.system.llmProviderCheckAuthStatus') }}