mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 15:09:12 +00:00
短剧分类调试
This commit is contained in:
@@ -256,7 +256,7 @@
|
||||
"name": "短剧自动分类",
|
||||
"description": "网络短剧自动整理到独立的分类目录。",
|
||||
"labels": "文件整理",
|
||||
"version": "2.14",
|
||||
"version": "2.15",
|
||||
"icon": "Amule_A.png",
|
||||
"author": "longqiuyu",
|
||||
"level": 1,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import random
|
||||
import time
|
||||
import shutil
|
||||
import subprocess
|
||||
import threading
|
||||
@@ -26,7 +27,7 @@ class PlayletCategory_v2(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Amule_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.14"
|
||||
plugin_version = "2.15"
|
||||
# 插件作者
|
||||
plugin_author = "longqiuyu"
|
||||
# 作者主页
|
||||
@@ -230,6 +231,9 @@ class PlayletCategory_v2(_PluginBase):
|
||||
if media_info.type != MediaType.TV:
|
||||
logger.info(f"{target_path} 不是电视剧,跳过分类处理")
|
||||
return
|
||||
if self._delay > 0:
|
||||
# 进行延迟
|
||||
time.sleep(self._delay)
|
||||
# 加锁
|
||||
with lock:
|
||||
file_list = transfer_info.file_list_new or []
|
||||
|
||||
Reference in New Issue
Block a user