mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-22 11:47:30 +08:00
feat: add movie tracking feature
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user