downloading api

This commit is contained in:
jxxghp
2023-07-02 16:21:32 +08:00
parent 174961c32d
commit 2b4b92bfe1
3 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class TransmissionModule(_ModuleBase):
for torrent in torrents or []:
meta = MetaInfo(torrent.name)
ret_torrents.append(DownloadingTorrent(
hash=torrent.hashString,
title=torrent.name,
name=meta.name,
year=meta.year,