Search found 62 matches

by bengalih
Wed Dec 04, 2024 12:03 am
Forum: Plugins
Topic: Assistance in writing a sorely needed security plugin.
Replies: 2
Views: 10443

Re: Assistance in writing a sorely needed security plugin.

I saw your post over on Reddit as well. I've actually written my own solution to work with Sonarr. It's in two parts: deluge-banned-files-rpc.py https://gist.github.com/bengalih/1341b528f95384522a28b0fca17ccbf8 sonarr-blacklist.py https://gist.github.com/bengalih/bd80a91c8aa789c2c3def5a5b600c32c The...
by bengalih
Thu Oct 10, 2024 5:06 pm
Forum: Plugins
Topic: Assistance in writing a sorely needed security plugin.
Replies: 2
Views: 10443

Assistance in writing a sorely needed security plugin.

I am not much of a python coder. I have been using AI to try and help generate this, but so far no luck. The problem is trying to protect from unsafe torrents. There is a rash of them going around. See this for my /r post: https://www.reddit.com/r/sonarr/comments/1fzhu05/psa_beware_virus_downloads_o...
by bengalih
Thu Sep 05, 2024 1:48 am
Forum: Support
Topic: Execute plugin won't run python script
Replies: 1
Views: 3124

Re: Execute plugin won't run python script

I discovered that the issue was that python was in the PATH for my user, but not in the path for the deulge daemon and so it was never properly calling python to run the script. I initially still needed to use the .bat wrapper and specify the full path to python.exe, but then discovered I could add ...
by bengalih
Thu Sep 05, 2024 12:57 am
Forum: Support
Topic: Execute plugin won't run python script
Replies: 1
Views: 3124

Execute plugin won't run python script

I wrote a python script which leverages the RPC client to do some actions. The script works perfect when run alone. When I try to run it with Execute (on torrent add), it doesn't run. According to the logs, it is executed. I see something like this: 19:43:25 [DEBUG ][deluge_execute.core :61 ] Runnin...
by bengalih
Wed Sep 04, 2024 11:24 pm
Forum: Support
Topic: Adding label via python RPCClient
Replies: 3
Views: 3487

Re: Adding label via python RPCClient

the JSON-RPC is the web interface, yes?

The label is an option for the torrents, at least as far as enumeration is concerned, but it appears that you may be right that it can't be set.

That syntax did seem to work. I had tried something similar, but not exact before.

thank you
by bengalih
Wed Sep 04, 2024 9:59 pm
Forum: Support
Topic: Adding label via python RPCClient
Replies: 3
Views: 3487

Adding label via python RPCClient

I looked at this old thread, but couldn't determine an answer: https://forum.deluge-torrent.org/viewtopic.php?t=53930 I am trying to write a script using the RPCClient methods, e.g: client = DelugeRPCClient('10.10.10.100', 58847, 'user', 'password') I am able to enumerate 'label' but cannot set the ...
by bengalih
Fri Apr 12, 2024 1:23 am
Forum: Windows OS
Topic: Exception Processing Message error - no disk
Replies: 3
Views: 21524

Re: Exception Processing Message error - no disk

Well after some further testing I've found out what is causing Deluge to do this. I have multiple disks in my system - including a built-in card reader which has 4 different card reader slots: https://i.ibb.co/B4T8Msn/image.png These are assigned drive letters H,I,J,and K on my system. Apparently, a...
by bengalih
Thu Apr 11, 2024 11:56 pm
Forum: Windows OS
Topic: Exception Processing Message error - no disk
Replies: 3
Views: 21524

Re: Exception Processing Message error - no disk

I'm wondering if you ever found a solution to this. I believe I got the exact same thing a couple of years ago with an earlier 2.x release of Deluge. I thought I posted about it, but I can't find anything. I don't believe I ever found a solution I just dealt with not having Deluge on that machine. A...
by bengalih
Thu Apr 11, 2024 11:28 pm
Forum: Support
Topic: All Deluge Downloads freeze (SOCKS5 Proxy??)
Replies: 13
Views: 12048

Re: All Deluge Downloads freeze (SOCKS5 Proxy??)

I'm sure you are right my ports are not open with the SOCKS. I can verify that easily from within Deluge. I am not up on the RFC and probably not as much as the under-the-hood information of how the protocol works as yourself. All I can tell you is that when I upload a new torrent to my private trac...
by bengalih
Thu Apr 11, 2024 6:17 pm
Forum: Support
Topic: All Deluge Downloads freeze (SOCKS5 Proxy??)
Replies: 13
Views: 12048

Re: All Deluge Downloads freeze (SOCKS5 Proxy??)

It's not really "to each their own", it is what is available that works and what doesn't. Go ahead and google it: https://www.google.com/search?q=split+tunnel+vpn+deluge+windows You'll see that almost everything is dated 3-4 years ago and going through the top couple of pages of hits you w...