rdt-client icon indicating copy to clipboard operation
rdt-client copied to clipboard

Feature request : remove downloads from Synology Download station

Open tchirou opened this issue 8 months ago • 6 comments

Hi

Would it be possible to consider adding an option allowing to remove the download jobs from the synology download station client once they are completed ?

Many thanks !

tchirou avatar Apr 19 '25 13:04 tchirou

@YvesPa can you look into this?

Cucumberrbob avatar Apr 20 '25 10:04 Cucumberrbob

Hi, will check it, I though there was already an option for this but never tried

YvesPa avatar Apr 24 '25 08:04 YvesPa

Hi Yves. Yes, it is page 25 of the pdf about the api. Thanks a lot for looking into it !

Image

tchirou avatar Apr 24 '25 08:04 tchirou

Hi, Currently when error rdt-client remove and recreate Task so the remove is setup.

I think we need a new option here @Cucumberrbob @rogerfar ? : Image

So it may not only be related to DownloadStation. I can take a look to do it, because I'm interested.

YvesPa avatar Apr 24 '25 08:04 YvesPa

I’m in two minds. We definitely need a new option for this - we want the ability to remove a download from the download client when the torrent is completed. That doesn’t make sense for downloaders other than DownloadStation (maybe Aria2c too, I’d need to test). So we’d need to make it clear to users in the webUI that this setting only affects certain download clients.

So we could

  1. Add to the PostDownloadAction enum - this would require 4 new options (DC, C+DC, P+DC, C+P+DC)[^1]
  2. Add a setting in the “Download Client” section to say “Delete from Client does/doesn’t mean delete from Download Client”

Imo method 2 feels a little nicer, it’s fewer options and we can more easily explain to users this only affects DownloadStation by adding a description on that setting. Interested to hear both @YvesPa and @rogerfar’s thoughts here (and anyone else for that matter).

[^1]: C = Client, P = Provider, DC = Download Client

Cucumberrbob avatar Apr 24 '25 19:04 Cucumberrbob

hi @Cucumberrbob,

I prefer option 1 because I like to have my history on rdt-client, because it's fast opening. So I may want to keep on client but delete from Provider (especially because DownloadStation has a limit in the history).

I had use Aria2c a bit, it keep an temporary history that is remove on next lunch (maybe there was an option for saving it), so possible but not so useful.

We can change option 1 to be a multiple select, with only 3 options. I never work on this particular database but I imagine setting to be store with key values, so we can store the multiple option using separator or using bit flag (C = 1, P = 2, DC = 4).

YvesPa avatar Apr 25 '25 09:04 YvesPa