mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-08 00:01:27 +08:00
refactor:Module加入执行优先顺序
This commit is contained in:
@@ -37,6 +37,13 @@ class TransmissionModule(_ModuleBase, _DownloaderBase[Transmission]):
|
||||
"""
|
||||
return ModuleType.Downloader
|
||||
|
||||
@staticmethod
|
||||
def get_priority() -> int:
|
||||
"""
|
||||
获取模块优先级,数字越小优先级越高,只有同一接口下优先级才生效
|
||||
"""
|
||||
return 2
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user