transmission-rpc-java
transmission-rpc-java copied to clipboard
Delete torrent doesn't delete the downloaded data, only the torrent file
Hello, I'm using this call from a desktop computer to the delete a torrent with the downloaded files on my Raspberry Pi2 with Openelec:
client.removeTorrent(new RemoveTorrentInfo(new NumberListIds(id),true));
This removes the torrent files, but nothing happens with the downloaded files. The second boolean parameter is for deleting the local data, but maybe I misunderstood that. What am I doing wrong? Maybe this is an transmission rpc problem? Thanks in advance!
Your expectations are correct. Could you reproduce this when you run Transmission on your local machine? It may be due to the environment in which you run on your Raspberry Pi. I first want to exclude that possibility.
I'm sorry for the delay. I tried this on my local machine with Ubuntu 16.04 and the same thing happened. The torrent was deleted, but the downloaded files were there after this. I'm using Transmission 2.84 (14307).
providing
objectMapper.setPropertyNamingStrategy(PropertyNamingStrategy.KEBAB_CASE);
for RpcClient mapper could help