mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 01:50:10 +08:00
refactor(setting): 补充设置项
This commit is contained in:
@@ -135,37 +135,37 @@ export const SettingTabs = [
|
||||
title: '系统',
|
||||
icon: 'mdi-server-network',
|
||||
tab: 'system',
|
||||
description: '系统设置、下载器(Qbittorrent、Transmission)、媒体服务器(Emby、Jellyfin、Plex)',
|
||||
description: '基础设置、下载器(Qbittorrent、Transmission)、媒体服务器(Emby、Jellyfin、Plex)',
|
||||
},
|
||||
{
|
||||
title: '存储 & 目录',
|
||||
icon: 'mdi-folder',
|
||||
tab: 'directory',
|
||||
description: '下载目录、媒体库目录、整理模式',
|
||||
description: '下载目录、媒体库目录、整理、刮削',
|
||||
},
|
||||
{
|
||||
title: '站点',
|
||||
icon: 'mdi-web',
|
||||
tab: 'site',
|
||||
description: '站点同步、下载优先规则、站点重置',
|
||||
description: '站点同步、站点数据刷新、站点重置',
|
||||
},
|
||||
{
|
||||
title: '规则',
|
||||
icon: 'mdi-filter',
|
||||
tab: 'rule',
|
||||
description: '优先级规则组',
|
||||
description: '自定义规则、优先级规则组、下载规则',
|
||||
},
|
||||
{
|
||||
title: '搜索',
|
||||
title: '搜索 & 下载',
|
||||
icon: 'mdi-magnify',
|
||||
tab: 'search',
|
||||
description: '媒体数据源(TheMovieDb、豆瓣、Bangumi)、搜索站点、搜索优先级、默认过滤规则',
|
||||
description: '搜索数据源(TheMovieDb、豆瓣、Bangumi)、下载任务标签、搜索站点',
|
||||
},
|
||||
{
|
||||
title: '订阅',
|
||||
icon: 'mdi-rss',
|
||||
tab: 'subscribe',
|
||||
description: '订阅站点、订阅模式、订阅优先级、洗版优先级、默认过滤规则',
|
||||
description: '订阅站点、订阅模式、订阅规则、洗版规则',
|
||||
},
|
||||
{
|
||||
title: '服务',
|
||||
@@ -177,7 +177,7 @@ export const SettingTabs = [
|
||||
title: '通知',
|
||||
icon: 'mdi-bell',
|
||||
tab: 'notification',
|
||||
description: '通知渠道(微信、Telegram、Slack、SynologyChat、VoceChat)、消息类型',
|
||||
description: '通知渠道(微信、Telegram、Slack、SynologyChat、VoceChat、WebPush)、消息发送范围',
|
||||
},
|
||||
{
|
||||
title: '词表',
|
||||
@@ -189,6 +189,7 @@ export const SettingTabs = [
|
||||
title: '关于',
|
||||
icon: 'mdi-information',
|
||||
tab: 'about',
|
||||
description: '软件版本',
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ const SystemSettings = ref<any>({
|
||||
SEARCH_MULTIPLE_NAME: false,
|
||||
DOWNLOAD_SUBTITLE: false,
|
||||
AUTO_DOWNLOAD_USER: null,
|
||||
TORRENT_TAG: 'MOVIEPILOT',
|
||||
},
|
||||
})
|
||||
|
||||
@@ -211,7 +212,16 @@ onMounted(() => {
|
||||
</VCol>
|
||||
</VRow>
|
||||
<VRow>
|
||||
<VCol cols="12">
|
||||
<VCol cols="12" md="6">
|
||||
<VTextField
|
||||
v-model="SystemSettings.Basic.TORRENT_TAG"
|
||||
label="下载任务标签"
|
||||
placeholder="MOVIEPILOT"
|
||||
hint="MoviePilot添加的下载任务标签"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12" md="6">
|
||||
<VCombobox
|
||||
v-model="SystemSettings.Basic.AUTO_DOWNLOAD_USER"
|
||||
label="远程搜索自动下载用户名单"
|
||||
|
||||
@@ -26,11 +26,15 @@ const SystemSettings = ref<any>({
|
||||
// 全局
|
||||
AUXILIARY_AUTH_ENABLE: false,
|
||||
GLOBAL_IMAGE_CACHE: false,
|
||||
BIG_MEMORY_MODE: false,
|
||||
// 媒体
|
||||
TMDB_API_DOMAIN: null,
|
||||
TMDB_IMAGE_DOMAIN: null,
|
||||
META_CACHE_EXPIRE: 0,
|
||||
FANART_ENABLE: false,
|
||||
SCRAP_FOLLOW_TMDB: true,
|
||||
SUBSCRIBE_STATISTIC_SHARE: true,
|
||||
PLUGIN_STATISTIC_SHARE: true,
|
||||
// 网络
|
||||
PROXY_HOST: null,
|
||||
GITHUB_PROXY: null,
|
||||
@@ -544,6 +548,30 @@ onDeactivated(() => {
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12" md="6">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Advanced.SUBSCRIBE_STATISTIC_SHARE"
|
||||
label="分享订阅数据"
|
||||
hint="分享订阅统计数据到热门订阅,供其他MPer参考"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12" md="6">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Advanced.PLUGIN_STATISTIC_SHARE"
|
||||
label="上报插件安装数据"
|
||||
hint="上报插件安装数据给服务器,用于统计展示插件安装情况"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12" md="6">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Advanced.BIG_MEMORY_MODE"
|
||||
label="大内存模式"
|
||||
hint="使用更大的内存缓存数据,提升系统性能"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
</div>
|
||||
</VWindowItem>
|
||||
@@ -584,6 +612,16 @@ onDeactivated(() => {
|
||||
:rules="[(v: any) => v === 0 || !!v || '请输入元数据缓存时间', (v: any) => v >= 0 || '元数据缓存时间必须大于等于0']"
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
<VRow>
|
||||
<VCol cols="12" md="6">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Advanced.SCRAP_FOLLOW_TMDB"
|
||||
label="跟随TMDB识别整理"
|
||||
hint="关闭时以整理历史记录为准(如有),避免TMDB数据在订阅中途修改"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12" md="6">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Basic.FANART_ENABLE"
|
||||
|
||||
Reference in New Issue
Block a user