Page 8 of 11

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 4:26 pm
by Nanobug
CrowdIA wrote: Mon Aug 07, 2023 4:16 pm Hello, how to delete torrents that have been in seeding for more than 45 days except those with the "donotdelete" label? Can you send me screenshots or the configuration to put please?
You could do the opposite, and use this:

Code: Select all

{
  "file": 1, 
  "format": 1
}{
  "labels": [], 
  "hdd_space": -1, 
  "use_quota_for_free_space": false,
  "label_rules": {
    "label1": [
      [
        "or", 
        "func_seed_time", 
        720
      ]
    ],

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 4:33 pm
by CrowdIA
Nanobug wrote: Mon Aug 07, 2023 4:26 pm
CrowdIA wrote: Mon Aug 07, 2023 4:16 pm Hello, how to delete torrents that have been in seeding for more than 45 days except those with the "donotdelete" label? Can you send me screenshots or the configuration to put please?
You could do the opposite, and use this:

Code: Select all

{
  "file": 1, 
  "format": 1
}{
  "labels": [], 
  "hdd_space": -1, 
  "use_quota_for_free_space": false,
  "label_rules": {
    "label1": [
      [
        "or", 
        "func_seed_time", 
        720
      ]
    ],
Opposite ? I didn't understand sorry. I would like not to do the opposite but what I asked if it is possible please?

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 4:35 pm
by Nanobug
CrowdIA wrote: Mon Aug 07, 2023 4:33 pm
Nanobug wrote: Mon Aug 07, 2023 4:26 pm
CrowdIA wrote: Mon Aug 07, 2023 4:16 pm Hello, how to delete torrents that have been in seeding for more than 45 days except those with the "donotdelete" label? Can you send me screenshots or the configuration to put please?
You could do the opposite, and use this:

Code: Select all

{
  "file": 1, 
  "format": 1
}{
  "labels": [], 
  "hdd_space": -1, 
  "use_quota_for_free_space": false,
  "label_rules": {
    "label1": [
      [
        "or", 
        "func_seed_time", 
        720
      ]
    ],
Opposite ? I didn't understand sorry. I would like not to do the opposite but what I asked if it is possible please?
Instead of labeling it "donotdelete" label it "delete45" or something, then delete it after 45 days.
I can't tell you how to make it, I just offered a solution.

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 4:48 pm
by CrowdIA
Nanobug wrote: Mon Aug 07, 2023 4:35 pm
CrowdIA wrote: Mon Aug 07, 2023 4:33 pm
Nanobug wrote: Mon Aug 07, 2023 4:26 pm

You could do the opposite, and use this:

Code: Select all

{
  "file": 1, 
  "format": 1
}{
  "labels": [], 
  "hdd_space": -1, 
  "use_quota_for_free_space": false,
  "label_rules": {
    "label1": [
      [
        "or", 
        "func_seed_time", 
        720
      ]
    ],
Opposite ? I didn't understand sorry. I would like not to do the opposite but what I asked if it is possible please?
Instead of labeling it "donotdelete" label it "delete45" or something, then delete it after 45 days.
I can't tell you how to make it, I just offered a solution.
Ok, I did as you suggested. I don't want to delete torrents that have the "seeding" label, but I want to delete torrents and their data that have the "radarr" or "sonarr" label and that have been seeded for more than 45 days.
From the photos, do I look good in this configuration?
Image
Image
Image

My config file :

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "count_exempt": false,
    "enabled": true,
    "filter": "func_added",
    "filter2": "func_added",
    "hdd_space": -1.0,
    "interval": 24.0,
    "label_rules": {
        "radarr": [
            [
                "or",
                "func_seed_time",
                720
            ]
        ],
        "sonarr": [
            [
                "or",
                "func_seed_time",
                720
            ]
        ]
    },
    "labels": [
        "seeding"
    ],
    "max_seeds": 500,
    "min": 60.0,
    "min2": 45.0,
    "remove": true,
    "remove_data": true,
    "rule_1_enabled": false,
    "rule_2_enabled": false,
    "sel_func": "and",
    "tracker_rules": {},
    "trackers": []
   
On the other hand, I don't understand your "720", is it 720 hours, in this case 720 hours divided by 24 make 30 days, right?

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 5:00 pm
by Nanobug
Looks right to me.
Do it the this way:
24 hours is 1 day, then just multiple 24 with whatever amount of days you want it to be.

Make a test on a separate label and see if it works before you implement it on all of it.

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 5:11 pm
by CrowdIA
Nanobug wrote: Mon Aug 07, 2023 5:00 pm Looks right to me.
Do it the this way:
24 hours is 1 day, then just multiple 24 with whatever amount of days you want it to be.

Make a test on a separate label and see if it works before you implement it on all of it.
Yes I will test that, thank you for your messages.

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Mon Aug 07, 2023 9:31 pm
by CrowdIA
I just tested with a tag I created "labeltest" specifying the seedtime to 2. But 4 hours later my torrent still hasn't deleted. Here is my setup:

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "count_exempt": false,
    "enabled": true,
    "filter": "func_added",
    "filter2": "func_added",
    "hdd_space": -1.0,
    "interval": 0.5,
    "label_rules": {
        "radarr": [
            [
                "and",
                "func_seed_time",
                1440
            ]
        ],
        "sonarr": [
            [
                "and",
                "func_seed_time",
                1440
            ]
        ],
        "testlabel": [
            [
                "and",
                "func_seed_time",
                2
            ]
        ]
    },
    "labels": [
        "seeding"
    ],
    "max_seeds": 500,
    "min": 60.0,
    "min2": 45.0,
    "remove": true,
    "remove_data": true,
    "rule_1_enabled": false,
    "rule_2_enabled": false,
    "sel_func": "and",
    "tracker_rules": {},
    "trackers": []

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Tue Aug 08, 2023 7:57 pm
by romprod
I've come here to check this, how does the plugin calculate the seed time? I notice that the tracker and Deluge have different figured for these. Does the plugin check with the track for my seed time and then remove or does it go against the added time in Deluge (which will likely always be wrong as torrents don't instantly download)

I can't see anyway of viewing from inside of Deluge the seedtime of each torrent (unless I'm blind) just the added time
CrowdIA wrote: Mon Aug 07, 2023 9:31 pm I just tested with a tag I created "labeltest" specifying the seedtime to 2. But 4 hours later my torrent still hasn't deleted. Here is my setup:

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "count_exempt": false,
    "enabled": true,
    "filter": "func_added",
    "filter2": "func_added",
    "hdd_space": -1.0,
    "interval": 0.5,
    "label_rules": {
        "radarr": [
            [
                "and",
                "func_seed_time",
                1440
            ]
        ],
        "sonarr": [
            [
                "and",
                "func_seed_time",
                1440
            ]
        ],
        "testlabel": [
            [
                "and",
                "func_seed_time",
                2
            ]
        ]
    },
    "labels": [
        "seeding"
    ],
    "max_seeds": 500,
    "min": 60.0,
    "min2": 45.0,
    "remove": true,
    "remove_data": true,
    "rule_1_enabled": false,
    "rule_2_enabled": false,
    "sel_func": "and",
    "tracker_rules": {},
    "trackers": []

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Tue Aug 08, 2023 9:46 pm
by mhertz
In bottom status tab there's a seed time field.

Plugin uses deluge's supplied api function to retrieve libtorrent seeding_time status for torrent, in which gtk-ui also makes use off in same way.

There is some issues with seeding not fully matching local VS tracker sometimes, our own resident autoremoveplus guy(and fork maintainer) basher previously found, and if not already, then recommend using his fork with some added meassures like force_reannounce if remember correct.

Re: [Plugin] Auto Remove Plus v2.0.0

Posted: Wed Aug 09, 2023 9:22 am
by basher
CrowdIA wrote: Mon Aug 07, 2023 9:31 pm I just tested with a tag I created "labeltest" specifying the seedtime to 2. But 4 hours later my torrent still hasn't deleted. Here is my setup:
You have set max_seeds = 500, which means ARP won't start removing any torrents unless your total amount of torrents goes beyond that.

Most people keep that value at 0