Assistance in writing a sorely needed security plugin.
Posted: Thu Oct 10, 2024 5:06 pm
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/comment ... _episodes/
Anyway, it is clear that Deluge is lacking the ability to restrict downloading certain file types.
I believe this can be rectified with a plugin.
The plugin logic needs to be:
1) On any torrent/magnet being added, wait until metadata is loaded (as we need to know the file list)
2) Search the files in the torrent for certain extensions (as defined in a UI for the plugin).
3) Once those files are found, set them to "do not download".
I'm fairly confident I can write a python script to enumerate all current running torrents and do actions #2/#3, however I don't know how to write a plugin that can monitor all newly added torrents.
I am hoping someone else sees the need for this (especially in light of the above /r post) and would work with me to create such a thing?
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/comment ... _episodes/
Anyway, it is clear that Deluge is lacking the ability to restrict downloading certain file types.
I believe this can be rectified with a plugin.
The plugin logic needs to be:
1) On any torrent/magnet being added, wait until metadata is loaded (as we need to know the file list)
2) Search the files in the torrent for certain extensions (as defined in a UI for the plugin).
3) Once those files are found, set them to "do not download".
I'm fairly confident I can write a python script to enumerate all current running torrents and do actions #2/#3, however I don't know how to write a plugin that can monitor all newly added torrents.
I am hoping someone else sees the need for this (especially in light of the above /r post) and would work with me to create such a thing?