Electorrent icon indicating copy to clipboard operation
Electorrent copied to clipboard

[Feature Request] Aria2 Support

Open aTosser opened this issue 4 years ago • 1 comments

aria2 when configured as a daemon has xmlrpc and jsonrpc (websocket varitant hasshiny push messages) facilites that is really quite simple. The ruby remote client aria2rpc is included with aria2 but electorrent should be able to include support for it with minimal effort. It looks as though the jsonrpc might be easier to implement by hand if you did not want to reuse any of your xmlrpc work.

Have a look, web tech is not my forte but I will lend a hand if you like. https://aria2.github.io/manual/en/html/aria2c.html?highlight=xmlrpc#rpc-interface

aTosser avatar Jul 22 '19 07:07 aTosser

Aria2 support would definitely be possible due to the very nice API support. While it is straightforward it does however consume some time to implement/test and the like.

I would use the jsonrpc over xmlrpc any day as decoding the xml consumes additional resources. I usually implement the business logic for clients in a separate project; see node-node-rtorrent, node-qbittorrent and node-deluge.

I don't see myself having time for this for right now, but I do accept pull requests 👍

tympanix avatar Jul 22 '19 11:07 tympanix