Page 11 of 13

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:03 am
by mhertz
Sorry, surely, apologies forgot state.

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:06 am
by fewmjew
Can anybody share their config? That's working

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:20 am
by mhertz
You had one yourself I thought(you said had alot cruft, your generated one), but anyway here's a quick one from enabling plugin and changing watchfolder and save, test and close deluge(d). No need remove cruft imho, just ignore, as is added back when initialized regardless e.g like when editing core.conf directly etc.

Code: Select all

{
    "file": 2,
    "format": 1
}{
    "next_id": 2,
    "watchdirs": {
        "1": {
            "abspath": "/home/martin/Downloads",
            "add_paused": true,
            "add_paused_toggle": false,
            "append_extension": ".added",
            "append_extension_toggle": false,
            "auto_managed": true,
            "auto_managed_toggle": false,
            "copy_torrent": "/home/martin",
            "copy_torrent_toggle": false,
            "delete_copy_torrent_toggle": false,
            "download_location": "/home/martin/Downloads",
            "download_location_toggle": false,
            "enabled": true,
            "label": "",
            "label_toggle": false,
            "max_connections": 0,
            "max_connections_toggle": false,
            "max_download_speed": 0.0,
            "max_download_speed_toggle": false,
            "max_upload_slots": 0,
            "max_upload_slots_toggle": false,
            "max_upload_speed": 0.0,
            "max_upload_speed_toggle": false,
            "move_completed": true,
            "move_completed_path": "/home/martin",
            "move_completed_toggle": false,
            "owner": "localclient",
            "path": "/home/martin/Downloads",
            "queue_to_top": true,
            "queue_to_top_toggle": false,
            "remove_at_ratio": true,
            "remove_at_ratio_toggle": false,
            "seed_mode": false,
            "stop_at_ratio": true,
            "stop_at_ratio_toggle": false,
            "stop_ratio": 0.0,
            "stop_ratio_toggle": false
        }
    }
}

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:28 am
by fewmjew
mhertz wrote: Thu Sep 21, 2023 9:20 am You had one yourself I thought(you said had alot cruft, your generated one), but anyway here's a quick one from enabling plugin and changing watchfolder and save, test and close deluge(d). No need remove cruft imho, just ignore, as is added back when initialized regardless e.g like when editing core.conf directly etc.

Code: Select all

{
    "file": 2,
    "format": 1
}{
    "next_id": 2,
    "watchdirs": {
        "1": {
            "abspath": "/home/martin/Downloads",
            "add_paused": true,
            "add_paused_toggle": false,
            "append_extension": ".added",
            "append_extension_toggle": false,
            "auto_managed": true,
            "auto_managed_toggle": false,
            "copy_torrent": "/home/martin",
            "copy_torrent_toggle": false,
            "delete_copy_torrent_toggle": false,
            "download_location": "/home/martin/Downloads",
            "download_location_toggle": false,
            "enabled": true,
            "label": "",
            "label_toggle": false,
            "max_connections": 0,
            "max_connections_toggle": false,
            "max_download_speed": 0.0,
            "max_download_speed_toggle": false,
            "max_upload_slots": 0,
            "max_upload_slots_toggle": false,
            "max_upload_speed": 0.0,
            "max_upload_speed_toggle": false,
            "move_completed": true,
            "move_completed_path": "/home/martin",
            "move_completed_toggle": false,
            "owner": "localclient",
            "path": "/home/martin/Downloads",
            "queue_to_top": true,
            "queue_to_top_toggle": false,
            "remove_at_ratio": true,
            "remove_at_ratio_toggle": false,
            "seed_mode": false,
            "stop_at_ratio": true,
            "stop_at_ratio_toggle": false,
            "stop_ratio": 0.0,
            "stop_ratio_toggle": false
        }
    }
}
A big thank you! Now I just need to understand how to get persistent config, but I think I will solve it.

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:37 am
by fewmjew
fewmjew wrote: Thu Sep 21, 2023 9:28 am
mhertz wrote: Thu Sep 21, 2023 9:20 am No need remove cruft imho
What is cruft?

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Sep 21, 2023 9:53 am
by mhertz
You're welcome :)

Sorry I was just referring to when you previously said:
Can someone please give me a sample configuration of the bare minimum for autoadd?

I created one locally and then transfered it to my docker container. However everything just gets written over when I restart?

The auto generated autoadd had so much bloated settings that I don't know what I could remove.
No cruft really, bad wording from me, and just ment things you don't need/configure.

Anyway, for your persistence issue, then deluged need closed when editing/adding autoadd.conf as you said. Next I'd check as said 'sudo docker stop deluge' followed by 'sudo docker start deluge'(I once had issue using 'restart' command when testing I seem remember, happening to quick or something, hence start/stop here) and see if works. And if do, then the docker image isn't setup correctly for OS restarts supposedly(don't wait long enough and/or not catching sigterm properly), though lsio docker image had bug fixed for this a year ago I saw. Can run manually before restarting(better script later) e.g 'sudo docker exec -it deluge deluge-console -c /config halt'.

Edit: Properly need not 'sudo' for docker commands, but I'm noob/lazy and only ever used docker for testing/helping here, and know probably only a single command-line(user-group-addition) needed or something, but don't care for my quick testing usage only honestly.

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Nov 23, 2023 4:36 pm
by PixelBudsPro
Hi,
I need some help setting up the AutoAdd Plugin.
I get this Error Message trying to add a Folder to the Plugin:

https://prnt.sc/wo9qdqpyWIgN

I use Deluge in Ubuntu/Docker.

I initially tought this has to be a permission error, so I gave the Ownership to the Daemon User but that didn't work. Then I gave back the Ownership to my normal User and set the Permissions to 777 but the Error Message stays the same. Does anyone have any advice to fix this?

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Nov 23, 2023 4:41 pm
by ambipro
Image provided does not load

Just link to it instead, I can see it, but many people will think you didn't attach one.

https://prnt.sc/wo9qdqpyWIgN

Post your compose

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Nov 23, 2023 4:42 pm
by PixelBudsPro
ambipro wrote: Thu Nov 23, 2023 4:41 pm Image provided does not load

Just link to it instead, I can see it, but many people will think you didn't attach one.

https://prnt.sc/wo9qdqpyWIgN

Post your compose
Alright, thanks!

Re: [Plugin] AutoAdd (multiple watchdir) plugin for deluge 1.2+

Posted: Thu Nov 23, 2023 4:55 pm
by ambipro
PixelBudsPro wrote: Thu Nov 23, 2023 4:42 pm
ambipro wrote: Thu Nov 23, 2023 4:41 pm Image provided does not load

Just link to it instead, I can see it, but many people will think you didn't attach one.

https://prnt.sc/wo9qdqpyWIgN

Post your compose
Alright, thanks!
Need docker-compose.yml file for deluge's container.