Giter Site home page Giter Site logo

deluge-seedtime's Introduction

deluge-seedtime

Deluge plugin to stop torrents after seeding for a certain amount of time.

Build instructions

  1. Clone the repo
  2. From the command line, navagate to repo directory
  3. Run command python setup.py bdist_egg
  • note: If your default python version is different from the deluge python version (2.7), then you will have to change python to reference the correct binary.
  1. check the dist folder, you should see a SeedTime*.egg, this is file to choose when installing the plugin from deluge

Install instructions

  1. Open Deluge
  2. Open Preferences
  3. Select Plugings from the Categories on the left
  4. Press the Install Plugin button Installing SeedTime
  5. Choose the SeedTime*.egg plugin file
  6. Check the box in front of the SeedTime plugin to enable it Enabling SeedTime

Using the plugin

  1. Select SeedTime from the Categories on the left
  2. Setup filters
  3. Press Add to create a new filter
  4. Press the cell in the Field column on the row of the new filter, select label or tracker depending on what you want to filter on. * Note: The Label plugin needs to be enabled for any label filters in SeedTime to have an effect
  5. Change the Filter cell to appropriate RegEx
  6. Set the Stop Seed Time as a number or days Image of Yaktocat
  7. Add/Remove more filters as you want. Filters are evaluated from top to bottom, press the up and down buttons rearrange the list.
  8. Press OK
  9. Newly added torrents will have appropriate stop seed time set Image of Yaktocat

deluge-seedtime's People

Contributors

gazpachoking avatar nhellfire avatar vanossj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deluge-seedtime's Issues

Settings not being applied in 2.1.0

initially, I saw an error in the deluge log for config/seedtime.conf not existing, so I created it.

The error went away and settings seemed to be saving but the config was still empty.

I manually added defaults and adjusted them, but that had to affect. I have no idea where the settings are being stored, but regardless of the values, the column values for seed time and remaining time do not update.

Adding seedtime automatically does not seem to work

image

Automatically adding a seedtime (default or based on tracker) doesn't seem to work properly.
Setting seedtime to 0 (or 0.1 or 0.01) means it keeps on seeding.
image

I tried different ways of specifying the tracker (alpharatio, alpharatio., alpharatio, alpharatio, .alpharatio.) but none worked. Weirdly enough, it has some effect, as any torrent added from alpharatio with one of those rules (I tested mostly with alpharatio.*) does not get the default seedtime. It always gets 0 as seedtime (but keeps on seeding).

Stock queue settings (also tried setting everything to 0 and stock settings, but same effect):
image

Tested on ARM and x64, in the linuxserver.io dockers.

Can't get this to work with deluge-web

I've cloned/built the source for this aganist python 2.7.9 and imported it into Deluge (via deluge-web), but activating it does not seem to have any effect. There is no new menu on the left or any new columns to add to the front-end etc. What am I missing?

Use "active Time" instead of "Seed-Time"

Maybe I am misunderstanding something here.
But wouldn't it be better to use the "active time" instead of the "seed time".

My understanding is that the "seed time" is calculated by subtracting the "added" timestamp from the current timestamp.
But if I pause a torrent or it gets queued automatically for a few hours or days the tracker does not take this time into account.

Example:
I added a torrent at at 17.6.2020. (1w 2 days ago)
But It got queued for a foew days and was only active for 3d 21h.

image

When I set the plugin to stop seeding after 14 days the plugin shows it will stop in 4 days.

image

But it should be 11 days, I think.

Am I missing something?
Maybe this could be an option in case the current behavior is actually wanted by other users.

Can't add filters

deluged 1.3.14
Windows client 1.3.14

I cannot add filters. Nothing happens when I press the Add button.

Missing from preferences list

Installing doesn't seem to add the plugin options to the preferences sidebar...

I know this is pretty old, but it's newer than the plugin it was forked from. Hopefully it's still compatible with Deluge.

ss

(FYI: Win10, Deluge 1.3.15)

Can't seem to install the plugin properly

Hi,
I am trying to use your plugin. It seems to build properly and also seems to install (version shows 0.6), but the SeedTime-tab in the settings menu, still shows the same (old) options (so no ability to add labels, only "stop seeding after..." and "remove torrent when stopping". What am I doing wrong?

I tried on a local deluge daemon (Windows) and on a remote (ARM linux board) daemon, but both act the same.

On the ARM board, I tried removing everything from the old SeedTime plugin, but that didn't make a difference. On the Windows daemon, there was no SeedTime installed before this version.

I also tried both the master and the ratio branch, no luck with either of them.

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.