transmission-rpc-java icon indicating copy to clipboard operation
transmission-rpc-java copied to clipboard

Delete torrent doesn't delete the downloaded data, only the torrent file

Open szilagyif opened this issue 7 years ago • 3 comments

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!

szilagyif avatar Sep 27 '17 12:09 szilagyif

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.

stil4m avatar Sep 28 '17 07:09 stil4m

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).

szilagyif avatar Nov 07 '17 20:11 szilagyif

providing objectMapper.setPropertyNamingStrategy(PropertyNamingStrategy.KEBAB_CASE); for RpcClient mapper could help

pochemuto avatar May 09 '19 10:05 pochemuto