fix RemoteIdentifiers

This commit is contained in:
jxxghp
2025-01-09 15:49:58 +08:00
parent 1e3c30750e
commit 914d3fd750
2 changed files with 12 additions and 8 deletions

View File

@@ -638,11 +638,14 @@
"name": "共享识别词",
"description": "从Github、Etherpad等远程文件中获取共享识别词并应用。",
"labels": "识别",
"version": "2.2",
"version": "2.3",
"icon": "words.png",
"author": "honue",
"level": 1,
"v2": true
"v2": true,
"history": {
"v2.3": "更换默认共享识别词地址"
}
},
"NeoDBSync": {
"name": "NeoDB 想看",

View File

@@ -23,7 +23,7 @@ class RemoteIdentifiers(_PluginBase):
# 插件图标
plugin_icon = "words.png"
# 插件版本
plugin_version = "2.2"
plugin_version = "2.3"
# 插件作者
plugin_author = "honue"
# 作者主页
@@ -228,7 +228,9 @@ class RemoteIdentifiers(_PluginBase):
'props': {
'type': 'success',
'variant': 'tonal',
'text': '以下为官方共享识别词维护地址,欢迎大家共同维护,也可以自己创建分享地址支持Github及EtherpadGithub需要raw的源文件地址文件格式与系统中配置格式一致即可。'
'text': '自己创建分享地址支持Github及EtherpadGithub需要raw的源文件地址文件格式与系统中配置格式一致即可。'
'以下为官方托管的共享识别词,开放给大家共同维护,但由于经常有人捣乱,且体量越来越大影响运行效率,'
'【建议仅供分享和参考】不在插件中引用https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words、https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words'
}
}
]
@@ -249,8 +251,7 @@ class RemoteIdentifiers(_PluginBase):
'props': {
'type': 'info',
'variant': 'tonal',
'text': '电视剧https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words'
'番剧https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words'
'text': '以下共享识别词由第三方审核维护推荐使用https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/TV.txt、https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/anime.txt'
}
}
]
@@ -264,8 +265,8 @@ class RemoteIdentifiers(_PluginBase):
"onlyonce": False,
"flitter": True,
"cron": '30 4 * * *',
"file_urls": "https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words\n"
"https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words",
"file_urls": "https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/TV.txt\n"
"https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/anime.txt",
}
def __update_config(self):