feat: add movie tracking feature

This commit is contained in:
Simon Ding
2024-07-16 14:20:25 +08:00
parent 547db5dd4a
commit 81ebcb4870
56 changed files with 4562 additions and 3977 deletions

View File

@@ -121,6 +121,10 @@ func (t *Torrent) Remove() error {
})
}
func (t *Torrent) Size() int {
return int(t.getTorrent().TotalSize.Byte())
}
func (t *Torrent) Save() string {
d, _ := json.Marshal(*t)