fix Plugin Alerts UI

This commit is contained in:
jxxghp 2023-10-31 11:48:36 +08:00
parent 2e289e80d1
commit 812a9a55d0
14 changed files with 36 additions and 0 deletions

View File

@ -308,6 +308,8 @@ class AutoBackup(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '备份文件路径默认为本地映射的config/plugins/AutoBackup。' 'text': '备份文件路径默认为本地映射的config/plugins/AutoBackup。'
} }
} }

View File

@ -454,6 +454,8 @@ class AutoSignIn(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '执行周期支持:' 'text': '执行周期支持:'
'1、5位cron表达式' '1、5位cron表达式'
'2、配置间隔小时如2.3/9-239-23点之间每隔2.3小时执行一次);' '2、配置间隔小时如2.3/9-239-23点之间每隔2.3小时执行一次);'
@ -477,6 +479,8 @@ class AutoSignIn(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '自动优选0-关闭命中重试关键词次数大于该数量时自动执行Cloudflare IP优选需要开启且则正确配置Cloudflare IP优选插件和自定义Hosts插件' 'text': '自动优选0-关闭命中重试关键词次数大于该数量时自动执行Cloudflare IP优选需要开启且则正确配置Cloudflare IP优选插件和自定义Hosts插件'
} }
} }

View File

@ -236,6 +236,8 @@ class BestFilmVersion(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '支持主动定时获取媒体库数据和Webhook实时触发两种方式两者只能选其一' 'text': '支持主动定时获取媒体库数据和Webhook实时触发两种方式两者只能选其一'
'Webhook需要在媒体服务器设置发送Webhook报文。' 'Webhook需要在媒体服务器设置发送Webhook报文。'
'Plex使用主动获取时建议执行周期设置大于1小时' 'Plex使用主动获取时建议执行周期设置大于1小时'

View File

@ -249,6 +249,8 @@ class CloudDiskDel(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '需要开启媒体库删除插件且正确配置排除路径。' 'text': '需要开启媒体库删除插件且正确配置排除路径。'
'主要针对于strm文件删除后同步删除云盘资源。' '主要针对于strm文件删除后同步删除云盘资源。'
'如遇删除失败,请检查文件权限问题。' '如遇删除失败,请检查文件权限问题。'
@ -270,6 +272,8 @@ class CloudDiskDel(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '关于路径映射:' 'text': '关于路径映射:'
'emby:/data/series/A.mp4,' 'emby:/data/series/A.mp4,'
'moviepilot内云盘挂载路径:/mnt/link/series/A.mp4。' 'moviepilot内云盘挂载路径:/mnt/link/series/A.mp4。'

View File

@ -702,6 +702,8 @@ class CloudflareSpeedTest(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': 'F12看请求的Server属性如果是cloudflare说明该站点支持Cloudflare IP优选。' 'text': 'F12看请求的Server属性如果是cloudflare说明该站点支持Cloudflare IP优选。'
} }
} }

View File

@ -158,6 +158,8 @@ class CustomHosts(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': 'host格式ip host中间有空格' 'text': 'host格式ip host中间有空格'
'容器运行则更新容器hosts非宿主机' '容器运行则更新容器hosts非宿主机'
} }

View File

@ -804,6 +804,8 @@ class DirMonitor(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '入库消息延迟默认10s如网络较慢可酌情调大有助于发送统一入库消息。' 'text': '入库消息延迟默认10s如网络较慢可酌情调大有助于发送统一入库消息。'
} }
} }

View File

@ -277,6 +277,8 @@ class InvitesSignin(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '整点定时签到失败?不妨换个时间试试' 'text': '整点定时签到失败?不妨换个时间试试'
} }
} }

View File

@ -266,6 +266,8 @@ class MediaSyncDel(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '媒体库同步方式分为Webhook、日志同步和Scripter X' 'text': '媒体库同步方式分为Webhook、日志同步和Scripter X'
'1、Webhook需要Emby4.8.0.45及以上开启媒体删除的Webhook。' '1、Webhook需要Emby4.8.0.45及以上开启媒体删除的Webhook。'
'2、日志同步需要配置检查周期默认30分钟执行一次。' '2、日志同步需要配置检查周期默认30分钟执行一次。'
@ -289,6 +291,8 @@ class MediaSyncDel(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '关于路径映射(转移后文件):' 'text': '关于路径映射(转移后文件):'
'emby:/data/series/A.mp4,' 'emby:/data/series/A.mp4,'
'moviepilot:/mnt/link/series/A.mp4。' 'moviepilot:/mnt/link/series/A.mp4。'
@ -312,6 +316,8 @@ class MediaSyncDel(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '排除路径:命中排除路径后请求云盘删除插件删除云盘资源。' 'text': '排除路径:命中排除路径后请求云盘删除插件删除云盘资源。'
} }
} }

View File

@ -232,6 +232,8 @@ class MoviePilotUpdateNotify(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '如要开启自动重启请确认MOVIEPILOT_AUTO_UPDATE设置为true重启即更新。' 'text': '如要开启自动重启请确认MOVIEPILOT_AUTO_UPDATE设置为true重启即更新。'
} }
} }

View File

@ -624,6 +624,8 @@ class NAStoolSync(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '开启清空记录时会在导入历史数据之前删除MoviePilot之前的记录。' 'text': '开启清空记录时会在导入历史数据之前删除MoviePilot之前的记录。'
'如果转移记录很多同步时间可能会长3-10分钟' '如果转移记录很多同步时间可能会长3-10分钟'
'所以点击确定后页面没反应是正常现象,后台正在处理。' '所以点击确定后页面没反应是正常现象,后台正在处理。'

View File

@ -198,6 +198,8 @@ class SiteRefresh(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '站点签到提示Cookie过期时自动触发。' 'text': '站点签到提示Cookie过期时自动触发。'
'不支持开启两步认证的站点。' '不支持开启两步认证的站点。'
'不是所有站点都支持,失败请手动更新。' '不是所有站点都支持,失败请手动更新。'

View File

@ -543,6 +543,8 @@ class SyncDownloadFiles(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '适用于非MoviePilot下载的任务下载器种子数据较多时同步时间将会较长请耐心等候可查看实时日志了解同步进度时间间隔建议最少每6小时执行一次防止上次任务没处理完。' 'text': '适用于非MoviePilot下载的任务下载器种子数据较多时同步时间将会较长请耐心等候可查看实时日志了解同步进度时间间隔建议最少每6小时执行一次防止上次任务没处理完。'
} }
} }

View File

@ -488,6 +488,8 @@ class TorrentRemover(_PluginBase):
{ {
'component': 'VAlert', 'component': 'VAlert',
'props': { 'props': {
'type': 'info',
'variant': 'tonal',
'text': '自动删种存在风险,如设置不当可能导致数据丢失!建议动作先选择暂停,确定条件正确后再改成删除。' 'text': '自动删种存在风险,如设置不当可能导致数据丢失!建议动作先选择暂停,确定条件正确后再改成删除。'
} }
} }