Comments (7)
I really like what you are doing but I'm wondering if the sonar/lidar/radar stuff should be a separate plugin?
Do you know if Deluge has some kinda event/msg bus that plugins can listen on and talk on?
If so we could make this plugin msg out that a torrent was deleted, and then a dedicated plugin could hear that event and do X in sonar etc.
My use case for this plugin is just to keep my HDD from filling up and to make sure I seed X amount of time back.
from deluge-autoremoveplus.
I think deluge has its api that can talk to other plugins etc, but afaik, there is no method in sonarr et al to just blacklist an item -- it's done as an optional argument to the delete metod. I would love to do the work in sonarr instead, because it's better maintained, but only the download client has enough information about the status of the torrent, such as availability etc.
But go ahead and suggest a method if you like. I just followed how you manually do this thing. It's actually sonarr that manages the download client through the label (I think), so that's why the produre I impelmented mimics that. But I do agree it's convoluted.
from deluge-autoremoveplus.
@springjools What I mean is you should leave AutoRemovePlus to just removing torrents from deluge.
If you need another plugin for doing something to sonar etc then create a new plugin.
Thats why I brought up the event bus, you could pass an event from AutoRemovePlus to a new plugin for sonar or w/e.
from deluge-autoremoveplus.
Yes but what you explain is not possible, because you cannot remove things twice
from deluge-autoremoveplus.
Why twice? AutoRemovePlus remove the torrent from deluge, then on remove a second plugin (the new one, shadycuz suggest) remove the torrent/movie/series from Sonarr,Radarr etc.
At the moment it should be possible to run a script (maybe mediaserver.py ;) ) with the included plugin "Execute" after a torrent get removed by hand or AutoRemovePlus.
from deluge-autoremoveplus.
Sure,if you find a way to also blacklist the release at the same time. From a sonarr et al point of view, that's necessary. Otherwise it will just download the same stuff again.
from deluge-autoremoveplus.
Now I have separated the removal and blacklisting so that blacklisting is done using the PVR api and removal is done locally.
from deluge-autoremoveplus.
Related Issues (20)
- Spam from log call HOT 9
- 0.6.13 showing as 0.6.12 in deluge webui HOT 2
- Less restrictive options HOT 5
- LSIO docker container plugin install HOT 13
- Settings clarification HOT 17
- Release 0.6.15 HOT 9
- Remove after pausing for a while HOT 1
- AutoRemove - Based on Space - Confused
- Time since seen complete (h) not working. HOT 1
- Disabling (or extending) pause after/remove after seedtime HOT 2
- Plugin won't load in Docker installation HOT 4
- Plugin loading fails in classic mode HOT 5
- LSIO docker no remove torrent HOT 2
- Delete with specific tracker
- Fix deprecated logging. HOT 2
- Readme Update, Expansion and Clarification
- Support Deluge v1?
- Web UI doesn't let me scroll down.
- Issue with thinclient without GUI open, fails trigger some events. HOT 2
- GTKUI prefs page fix. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deluge-autoremoveplus.