mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix #280
This commit is contained in:
@@ -349,11 +349,12 @@
|
||||
"name": "订阅规则自动填充",
|
||||
"description": "电视剧下载后自动添加官组等信息到订阅;添加订阅后根据二级分类名称自定义订阅规则。",
|
||||
"labels": "订阅",
|
||||
"version": "2.8.6",
|
||||
"version": "2.8.7",
|
||||
"icon": "teamwork.png",
|
||||
"author": "thsrite",
|
||||
"level": 2,
|
||||
"history": {
|
||||
"v2.8.7": "修复下载填充",
|
||||
"v2.8.6": "修复订阅填充",
|
||||
"v2.8.4": "修复订阅分辨率",
|
||||
"v2.8.3": "规则填充忽略大小写",
|
||||
|
||||
@@ -20,7 +20,7 @@ class SubscribeGroup(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "teamwork.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.8.6"
|
||||
plugin_version = "2.8.7"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -329,7 +329,7 @@ class SubscribeGroup(_PluginBase):
|
||||
update_dict['include'] = resource_team
|
||||
# 站点
|
||||
if "站点" in self._update_details and (
|
||||
not subscribe.sites or (subscribe.sites and len(json.loads(subscribe.sites)) == 0)):
|
||||
not subscribe.sites or (subscribe.sites and len(subscribe.sites) == 0)):
|
||||
# 站点 判断是否在订阅站点范围内
|
||||
rss_sites = self.systemconfig.get(SystemConfigKey.RssSites) or []
|
||||
if _torrent and _torrent.site and int(_torrent.site) in rss_sites:
|
||||
|
||||
Reference in New Issue
Block a user