mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix(transfer): expose file meta in intercept event (#6019)
This commit is contained in:
@@ -388,6 +388,7 @@ class TransferInterceptEventData(ChainEventData):
|
||||
Attributes:
|
||||
# 输入参数
|
||||
fileitem (FileItem): 源文件
|
||||
meta (Any): 元数据
|
||||
target_storage (str): 目标存储
|
||||
target_path (Path): 目标路径
|
||||
transfer_type (str): 整理方式(copy、move、link、softlink等)
|
||||
@@ -401,6 +402,7 @@ class TransferInterceptEventData(ChainEventData):
|
||||
|
||||
# 输入参数
|
||||
fileitem: FileItem = Field(..., description="源文件")
|
||||
meta: Optional[Any] = Field(default=None, description="元数据")
|
||||
mediainfo: Any = Field(..., description="媒体信息")
|
||||
target_storage: str = Field(..., description="目标存储")
|
||||
target_path: Path = Field(..., description="目标路径")
|
||||
|
||||
Reference in New Issue
Block a user