vinz243 / pTorrent

Fast and modern material design torrent client
30 stars 5 forks source link

Implement AbstractTorrentProvider #1

Open vinz243 opened 8 years ago

vinz243 commented 8 years ago

AbstractTorrentClient

getTorrents()
addTorrent(dataType, data)
removeTorrent(hash)
pauseAll()
setConfig(key, value)
getUploadSpeed()
getDownloadSpeed()

AbstractTorrent

constructor(hash)
pause()
getUploadSpeed()
getDownloadSpeed()

(all functions returns promises)

Useful links: https://github.com/roastlechon/nodejs-rtorrent/blob/master/src/node/lib/rtorrent.js https://code.google.com/p/gi-torrent/wiki/rTorrent_XMLRPC_reference https://github.com/baalexander/node-xmlrpc