[Plugin] Auto Remove Plus v2.0.0

Suggest, post, or discuss plugins for Deluge
pahunt
New User
New User
Posts: 1
Joined: Fri Jul 04, 2025 9:04 am

Re: [Plugin] Auto Remove Plus v2.0.0

Post by pahunt »

I'm trying to understand the Specific Remove Rules section and below is the autoremoveplus.conf file that I've created.

The intention is for:
  • lst.gg torrents to be seeded for 10 days and 1 hour before being deleted.
  • digitalcore.club torrents to be seeded for 5 days or they reach a ratio of 1.1 before being deleted.
Does this look right?

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "count_exempt": false,
    "enabled": true,
    "filter": "func_added",
    "filter2": "func_ratio",
    "hdd_space": -1.0,
    "interval": 24.0,
    "label_rules": {},
    "labels": [],
    "max_seeds": 0,
    "min": 336.0,
    "min2": 5.0,
    "remove": true,
    "remove_data": true,
    "rule_1_enabled": false,
    "rule_2_enabled": false,
    "sel_func": "or",
    "tracker_rules": {
        "digitalcore.club": [
            [
                "or",
                "func_ratio",
                1.100000023841858
            ],
            [
                "or",
                "func_seed_time",
                121
            ]
        ],
        "lst.gg": [
            [
                "or",
                "func_seed_time",
                241
            ]
        ]
    },
    "trackers": [
        "myanonamouse.ne",
        "flacsfor.me"
    ]
}
joshfrog
New User
New User
Posts: 1
Joined: Sat Sep 20, 2025 1:56 am

Re: [Plugin] Auto Remove Plus v2.0.0

Post by joshfrog »

I’m trying to get AutoRemovePlus working in my Deluge 2.2 Docker container (binhex-deluge) running Python 3.13.5 on Unraid.
Disclaimer: I have very little experience with Docker, but I'm a novice when it comes to Linux itself. So, I have been troubleshooting with ChatGPT to try to help without needing to bug anyone.

Here’s what I’ve tried so far:
1. Cleanup
a. Removed a leftover broken plugin file [object FileList] from /config/plugins.
b. Verified the plugins folder is writable and the container can access it.
2. Tried building from source
a) Original repo by Omar Alvarez:
- https://github.com/omaralvarez/deluge-autoremoveplus
- Tried both master and develop branches.
- develop didn’t exist anymore; master failed to build because it’s outdated.
b) Fork by valkoluk (maintained for Deluge 2.2):
- https://github.com/valkoluk/deluge-autoremoveplus
- Cloned via HTTPS.
- Built inside a Python 3.13 Docker container.
- Resulting .egg still did not load in Deluge. Checkbox in WebUI flashes briefly, then unchecks.
3. Tested prebuilt .egg files
- AutoRemovePlus-0.6.2-py3.13.egg → Python version matches, but API incompatible with Deluge 2.2.
- AutoRemovePlus-2.0.0-py3.8.egg → API mostly compatible with 2.2, but Python version mismatch prevents loading.

4. Symptoms
- Plugin shows in the WebUI plugin list briefly, but never stays enabled.
- Doesn’t appear in the left-hand pane.
- No logs are generated.
- Other plugins load fine in the same container.

Environment:
- Unraid 6.x
- Docker: binhex-deluge
- Deluge 2.2
- Python 3.13.5
- Plugins folder: /mnt/user/appdata/deluge/plugins

Question:
Has anyone successfully built or obtained a working AutoRemovePlus .egg for Deluge 2.2 + Python 3.13? If so, could you share the steps or the working .egg?
basher
Seeder
Seeder
Posts: 104
Joined: Wed Sep 29, 2021 8:42 am
Location: Estonia/Spain

Re: [Plugin] Auto Remove Plus v2.0.0

Post by basher »

@joshfrog you can give this fork a go
bobgone
New User
New User
Posts: 4
Joined: Sun Apr 30, 2023 4:29 pm

Re: [Plugin] Auto Remove Plus v2.0.0

Post by bobgone »

What is the value used for 'size'? MB? GB? something else?
User avatar
ambipro
Moderator
Moderator
Posts: 750
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] Auto Remove Plus v2.0.0

Post by ambipro »

bobgone wrote: Tue Apr 14, 2026 8:53 pm What is the value used for 'size'? MB? GB? something else?
If you mean for min free space it's GB
User avatar
ambipro
Moderator
Moderator
Posts: 750
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] Auto Remove Plus v2.0.0

Post by ambipro »

joshfrog wrote: Sat Sep 20, 2025 2:07 am I’m trying to get AutoRemovePlus working in my Deluge 2.2 Docker container (binhex-deluge) running Python 3.13.5 on Unraid.
Disclaimer: I have very little experience with Docker, but I'm a novice when it comes to Linux itself. So, I have been troubleshooting with ChatGPT to try to help without needing to bug anyone.

Here’s what I’ve tried so far:
1. Cleanup
a. Removed a leftover broken plugin file [object FileList] from /config/plugins.
b. Verified the plugins folder is writable and the container can access it.
2. Tried building from source
a) Original repo by Omar Alvarez:
- https://github.com/omaralvarez/deluge-autoremoveplus
- Tried both master and develop branches.
- develop didn’t exist anymore; master failed to build because it’s outdated.
b) Fork by valkoluk (maintained for Deluge 2.2):
- https://github.com/valkoluk/deluge-autoremoveplus
- Cloned via HTTPS.
- Built inside a Python 3.13 Docker container.
- Resulting .egg still did not load in Deluge. Checkbox in WebUI flashes briefly, then unchecks.
3. Tested prebuilt .egg files
- AutoRemovePlus-0.6.2-py3.13.egg → Python version matches, but API incompatible with Deluge 2.2.
- AutoRemovePlus-2.0.0-py3.8.egg → API mostly compatible with 2.2, but Python version mismatch prevents loading.

4. Symptoms
- Plugin shows in the WebUI plugin list briefly, but never stays enabled.
- Doesn’t appear in the left-hand pane.
- No logs are generated.
- Other plugins load fine in the same container.

Environment:
- Unraid 6.x
- Docker: binhex-deluge
- Deluge 2.2
- Python 3.13.5
- Plugins folder: /mnt/user/appdata/deluge/plugins

Question:
Has anyone successfully built or obtained a working AutoRemovePlus .egg for Deluge 2.2 + Python 3.13? If so, could you share the steps or the working .egg?
https://github.com/laur89/deluge-autore ... ses/latest

The link above works, laur89 maintains the current version. Place it in the plugins directory as well as locally in the plugins folder (if you're using thin client.

Refresh the plugins and check the box and hit apply and it will load.

Also, with docker on unraid (or anything) you don't use the Python that's installed natively. It's all included in the Docker container. FYI.

docker exec -it deluge python --version

This command will show you the version of python used in the container named "deluge"

Code: Select all

root@PLEXARY:~# docker exec -it deluge python --version
Python 3.12.12
root@PLEXARY:~#
Post Reply