diff --git a/icons/Nastools_A.png b/icons/Nastools_A.png new file mode 100644 index 0000000..c3cf96f Binary files /dev/null and b/icons/Nastools_A.png differ diff --git a/icons/delete.jpg b/icons/delete.jpg new file mode 100644 index 0000000..bde1f26 Binary files /dev/null and b/icons/delete.jpg differ diff --git a/package.json b/package.json index a61f371..455f88c 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "name": "自动删种", "description": "自动删除下载器中的下载任务。", "version": "1.1", - "icon": "torrent.png", + "icon": "delete.png", "author": "jxxghp", "level": 2 }, @@ -155,7 +155,7 @@ "name": "历史记录同步", "description": "同步NAStool历史记录、下载记录、插件记录到MoviePilot。", "version": "1.0", - "icon": "sync.png", + "icon": "Nastools_A.png", "author": "thsrite", "level": 1 }, diff --git a/plugins/dirmonitor/__init__.py b/plugins/dirmonitor/__init__.py index 71cf52f..41e86ac 100644 --- a/plugins/dirmonitor/__init__.py +++ b/plugins/dirmonitor/__init__.py @@ -356,7 +356,7 @@ class DirMonitor(_PluginBase): return # 判断文件大小 - if self._size and int(self._size) > 0 and file_path.stat().st_size < int(self._size) * 1024 ** 3: + if self._size and float(self._size) > 0 and file_path.stat().st_size < float(self._size) * 1024 ** 3: logger.info(f"{event_path} 文件大小小于监控文件大小,不处理") return @@ -798,7 +798,7 @@ class DirMonitor(_PluginBase): 'component': 'VTextField', 'props': { 'model': 'size', - 'label': '监控文件大小', + 'label': '监控文件大小(GB)', 'placeholder': '0' } } @@ -889,7 +889,7 @@ class DirMonitor(_PluginBase): 'props': { 'type': 'info', 'variant': 'tonal', - 'text': '监控文件大小:默认0,单位GB。0为不开启,低于监控文件大小的文件不会被监控转移。' + 'text': '监控文件大小:单位GB,0为不开启,低于监控文件大小的文件不会被监控转移。' } } ] diff --git a/plugins/nastoolsync/__init__.py b/plugins/nastoolsync/__init__.py index 2ca3c60..28b7e39 100644 --- a/plugins/nastoolsync/__init__.py +++ b/plugins/nastoolsync/__init__.py @@ -18,7 +18,7 @@ class NAStoolSync(_PluginBase): # 插件描述 plugin_desc = "同步NAStool历史记录、下载记录、插件记录到MoviePilot。" # 插件图标 - plugin_icon = "sync.png" + plugin_icon = "Nastools_A.png" # 插件版本 plugin_version = "1.0" # 插件作者 diff --git a/plugins/torrentremover/__init__.py b/plugins/torrentremover/__init__.py index 6671691..553025b 100644 --- a/plugins/torrentremover/__init__.py +++ b/plugins/torrentremover/__init__.py @@ -25,7 +25,7 @@ class TorrentRemover(_PluginBase): # 插件描述 plugin_desc = "自动删除下载器中的下载任务。" # 插件图标 - plugin_icon = "torrent.png" + plugin_icon = "delete.png" # 插件版本 plugin_version = "1.1" # 插件作者