Adding logic to change torrent storage path

This commit is contained in:
2018-01-25 23:08:10 -05:00
parent f58ca5bb09
commit 6af49b317d
15 changed files with 279 additions and 60 deletions

View File

@@ -53,10 +53,10 @@ type TorrentLocal struct {
MaxConnections int
TorrentType string //magnet or .torrent file
TorrentFileName string
TorrentFile []byte //TODO store and reteive torrent file from here
Label string //for labeling torrent files
TorrentFile []byte
Label string
UploadedBytes int64
DownloadedBytes int64 //TODO not sure if needed since we should have the file which contains the bytes
DownloadedBytes int64
UploadRatio string
TorrentFilePriority []TorrentFilePriority
}