feat: build in torrent client

This commit is contained in:
Simon Ding
2025-03-28 17:46:20 +08:00
parent 74e680c1ee
commit 050e6446a7
8 changed files with 85 additions and 33 deletions

View File

@@ -17,7 +17,7 @@ func (DownloadClients) Fields() []ent.Field {
return []ent.Field{
field.Bool("enable"),
field.String("name"),
field.Enum("implementation").Values("transmission", "qbittorrent"),
field.Enum("implementation").Values("transmission", "qbittorrent", "buildin"),
field.String("url"),
field.String("user").Default(""),
field.String("password").Default(""),