Android thin client
Posted: Mon Sep 10, 2018 4:46 pm
For a while now, I've been pondering creating a native Android client for deluged (because transdroid never seems to work reliably for me). The first version would probably be *very* simple, just a way to add a torrent from a file or magnet link, but eventually I'd like a UI that will list torrents in the session, and allow pausing, resuming, and deleting them. Maybe someday in the far distant future, it'd achieve feature-parity with the python client, but walking before running.
It should at least theoretically be possible, since there are a couple of Java implementations of rencode, although I haven't tested to see how good their compatibility with the Python implementation is. Fortunately, most of the RPC calls don't involve hugely complex data structures.
My questions are:
It should at least theoretically be possible, since there are a couple of Java implementations of rencode, although I haven't tested to see how good their compatibility with the Python implementation is. Fortunately, most of the RPC calls don't involve hugely complex data structures.
My questions are:
- Is this the most complete/up-to-date documentation of the RPC API? https://deluge.readthedocs.io/en/develop/core/rpc.html
- Has anyone actually tried this yet? Is there any existing code?
- How much is the 2.x RPC interface different to the 1.3.x interface? Is it just that 2.x has a length header before the compressed, rencoded data?
- Does anyone want to talk me out of this..?