GithubHelp home page GithubHelp logo

Comments (7)

shadycuz avatar shadycuz commented on July 29, 2024

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.

springjools avatar springjools commented on July 29, 2024

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.

shadycuz avatar shadycuz commented on July 29, 2024

@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.

springjools avatar springjools commented on July 29, 2024

Yes but what you explain is not possible, because you cannot remove things twice

from deluge-autoremoveplus.

ben-ba avatar ben-ba commented on July 29, 2024

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.

springjools avatar springjools commented on July 29, 2024

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.

springjools avatar springjools commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.