Azureus Autostop Plugin 2.0

The purpose of this plugin is to help with people whose ISPs are anal-retentive
about upload bandwidth usage, like mine is. Its purpose is to be a community-
friendly implementation of an upload limiter. It will not permit upload cutoff
at less than a 1.0 share ratio, but other than that it will disable uploads for
a few ratios that are equal to or greater than that.

The settings are, I hope, more or less self-explanatory. Feel free to comment on
it at here.

The plugin itself can also be downloaded here:

MD5: c4930bdcf89781d07b395ef689dca743 autostop-2.0.2.zip

### Version History

- 1.0.0
- Version 1, just sorta works

- 1.0.1
- Fixed a stupid bug where the plugin.properties was not included in the build.

- 2.0.0 Alpha 1
– Support per-torrent download ratio specification.
– Obligatory total rewrite.

- 2.0.0 Alpha 2
– [AZSTOP-4](http://offby1.no-ip.org:8080/browse/AZSTOP-4) – it helps if the download listener is actually initialized.
– [AZSTOP-5](http://offby1.no-ip.org:8080/browse/AZSTOP-5) – fixed some message strings not being valid

- 2.0.0 Alpha 3
– [AZSTOP-6](http://offby1.no-ip.org:8080/browse/AZSTOP-6) – Fixed issue with multiple selections breaking the menu.

- 2.0.0 Beta 1
– [AZSTOP-8](http://offby1.no-ip.org:8080/browse/AZSTOP-8) – Fixed failure to check if a torrent was stopped before trying to stop it.

- 2.0.0 Beta 2
– [AZSTOP-13](http://offby1.no-ip.org:8080/browse/AZSTOP-13), [AZSTOP-14](http://offby1.no-ip.org:8080/browse/AZSTOP-14) – fixed incorrect start values for seed stop actions

- 2.0.2
– Oh, so much. Hopefully this works for you all.

### Issue Tracking

If you find bugs, and I expect you will, or you want new features, I have an issue tracker for this plugin at [http://offby1.no-ip.org:8080/browse/AZSTOP](http://offby1.doesntexist.com:8080/browse/AZSTOP) (The URL is subject to change, so if you can’t get to it at that address, check back here for new information)


35 Responses to “Azureus Autostop Plugin 2.0”

  • Jeff

    Hey, I’ve been trying to install this plugin and i’ve even changed path so that is it …./plugins/azautostop/azautostop.jar (mention elsewhere on your site) and it’s still won’t let me install, do you have any other advice. it still comes up as “not a valid azureus plugin”

  • Chris

    Jeff, sorry about the mess that this plugin is — it was my very first. I guess the first question is, have you tried installing the version of the plugin linked here? If not, do — I’ve cleaned it up, some. If so, well, crap. I’ll need to get some fixes in.

    I’ll check it, and in the meantime let me know how the process went for you.

  • Chris

    Thanks to Jeff, I spotted a stupid. All fixed, now.

  • Jeff

    Thanks, it at least installs now. Although, a prompt comes up stating that it is not an official Azureus plugin, which is easily bypassed. I have to wait for a torrent to reach 1.00 to see if it is working

  • Øystein

    Thnx m8!

    Works like a charm!

    Has been looking for this type of plugin for a while!

  • BeLLe

    Really nice little plug but one thing i’d like to see is ‘remove and delete data+torrent’ after complete seed and a checkbox for only in default data dir

    just an idea for you to work with

  • Chris

    BeLLe: That sounds like a good idea, and one I’d probably like to implement. I’ll have to look into the Plugin API to see if it’s possible for me to determine whether the download is going there, and then work from there.

    It’ll be a bit, though — I just started classes again, and those are taking up a lot of my time.

  • erythros

    would love to be able to manually edit the share ratio. i’d like to set my to 50:1…

  • Chris

    erythros, I’ve been thinking of ways to add new share ratios for a while, without exposing the ability to do <1:1 ratios. I'm working on an upgrade (which won't be right away, because I'm very busy with paying work at the moment) that will have that and the ability to set per-torrent ratios, as well.

  • erythros

    Socially minded… makes sense, I didn’t even think about that. Is there a way to do a string check and give the user an error if they enter anything less than 1:1?

  • Chris

    There are, but it’s the UI for it that trips me up; it’s not really clear how to make that obvious to the user. I’m looking at a couple of ideas, I’ll see how they work out.

  • Hal

    Great plugin but I am not sure how to use it.
    Not sure if something is wrong with my installation, but I cannot see any settings anywhere? Will this plugin auto stop seeding once the share ratio is over 1 without me having to change any settings?
    I see nothing under Plugins > Settings and there is nothing I can change on the critea page. Nothing happens when I click on the +/-.
    Any help much appreciated.

  • Ambrose

    This is the same question as above — WHERE are the settings?

    I’m sure I’m being dumb, but where do I go to set the rules? I’ve been looking for about five minutes now. It doesn’t come up when I do a search in Options, and it isn’t in the plugins menu … Maybe the README.txt should say “The settings (in such-and-such a place) are, I hope, more or less self-explanatory”.

    Because, they’re not self-revelatory…

  • Chris

    Hm.

    Let me get back to you on that; I’m not home right now, and to be honest _I_ don’t remember where those are just now. I _think_ you can set the ratio per-torrent in the right-click menu for the torrent, for one, and in the Vuze UI there’s a way to get to the classic mode, where the options are.

    I assume you’re running 3.0+?

  • Chris

    Okay, here’s the deal: In the advanced view there’s a menu item on the torrent: “Custom Ratio: ##”; click on that, to set a per-torrent ratio.

    Additionally, in the preferences dialog (accessed in a platform-dependent manner) under the Plugins node, you will find “Automatic Seed Stop”, where you can set defaults.

    That’s all there is for UI.

  • Akira.d0e

    Great Plugin!

    I’ve got it set to remove after 2.0 at the moment.

    Are there any plans to have different removal rules based on torrent category?

    I’d love to be able to remove public torrent (that are automatically categorised) after 1:1 and left the private trackers until 2:1 or higher.

    Thanks for the great work mate.

  • Chris

    No problem. Development on the plugin has stalled a bit, due in part to work and in part to apathy. Also, my bug tracker suffered a catastrophic data loss in a blackout, so if you’d submitted that as a bug it’s long gone :/

    So, it sounds like a nice feature, but it’s non-trivial to modify the current implementation. Specifically the UI. Submit it to my JIRA (http://offby1.no-ip.org:8080/) and I’ll consider it when I get to the project again.

  • Aidan

    hey guys i am not real good at this but i wondered is there such a think as auto stop e.g. just like a timer which i can set to start at midnight and stop at midday, seems like so many isps are offering the higher off peak downloads that something that would start and stop at the correct times would be great. I understand the seeding etc but well my max plan is 20gb day time and 40 gb overnight which i am always on but i always end up wasting the overnight stuff as i forget to turn the downloads on etc. Rather than the complicated seed ratios my solution would be a simple turn vuse on turn vuse off via timer…sorry if that all sounds too retarded obviously i dont have a clue about how to write any of this stuff.

  • Aidan

    forgot to tick the notify me by email box….cheers

  • Chris

    It’s a neat idea, although it’s not really in the design for autostop as it exists today. I’m not averse to it, though. I like automation solutions a lot, so I might fold that in to it next time I get around to tweaking it some.

    Thanks for the input!

  • Psy

    A nice feature would be continue seeding when the force seeding is activated as it happens with utorrent

  • Tim

    I just downloaded the plugin as well as some other ones but they don’t seem to work. I extract the files but then its says ‘failed to load main class magnifest’

  • Chris

    Tim, you’re best off using Vuze’s plugin installer/updater instead. I don’t know where that IS, off the top of my head, but check over the menus. It’ll set the plugin up the right way.

  • Robert

    I’m using Azureus 2.5.0.4 (Linux version) and I installed the plugin. But it’s not working. I’ve right clicked a torrent and selected a custom ratio (above 1.0), but when it reached this ratio, it didn’t stop. Do I have to “turn the plugin on” or something like that? Because I couldn’t find any settings or so to change.
    Thanks!

  • Chris

    Yep, it needs to be enabled. There’s a preferences page for it in the options dialog, under plugins.

  • Bretutle

    How about the ability to set ratios by category?

  • Chris

    That’s an outstanding request; I’ll look at it eventually, but it’s a ways off. Work is keeping me pretty slammed these days. Thank you for the interest, please be patient and I’ll get around to it, I promise!

  • Bicycle Made For One

    Hi Chris

    Thanks for this plugin, it’s solved one of Azureus’s few issues; how to seed different types of torrents to different ratios.

    I would echo Ambrose and Hal to some extent. I’ve found the right-click per torrent settings, but I’m mystified by the “Autostop Criteria” tab.
    What does it do, and how can I interact with it?
    Clicking on the Plus button does nothing.

    Other than that, I’m pleased and grateful!

  • Bob

    Outstanding plugin concept, well done Chris. Implementation needs some polish but generally I think you have most of what you need in place – keep it simple and focused = good plugin. Here’s my suggestions:

    1) add some simple instructions to readme – ie.
    *tools->options to enable and change global ratio
    *right click individual torrent to do per torrent settings

    2) allow more ratios for the global setting – currently only 1.0, 1.5, 2.0, 5.0, whereas for individual you can enter a custom value.

    3) seems that everyone that use this first goes to Tools->Plugins->Autostop which brings up a spreadsheet that absolutely nothing. Remove this from the user experience.

    Otherwise well done.

  • Bicycle Made For One

    Actually, this isn’t working for me.

    I’ve set the global ratio to 1.0, and individual ratios above that, but they are stopping at 1.0, with a Seeding Rank of “Share Ratio OK”.

    If I raise the ratio under Queue>Seeding>Ignore Rules, torrents which do have a ratio limit of 1.0 start seeding, despite Autostop’s global ratio telling them they’ve reached their target.

    I’m on Vuze 3.1.1.0 on Java 1.6 on Unbuntu 8.04;
    any help gratefully received.

  • Daryle

    So the download link is still broken and unfortunately the link:

    http://azureus.sourceforge.net/plugin_details.php?plugin=autostop

    is two version old and missing the plugin.properties file again. Is there any way to get the most recent beta with the proper properties file?

  • Daryle

    Heh. A little poking around helps. I noticed the plugin link was broken but based on the other links I guessed:

    http://www.offby1.net/plugins/

    and lo and behold a directory listing of all plugin versions. However I’m still confused about two things.

    First I would have thought that the beta3 was most recent. However it (and the other betas) are all 28 kB. However the one at sourceforge is 36 kB; although the betas are more recently dated.

    Also there is still no sign of the plugin.properties file. I am no Azureus plugin expert but something seems missing since the only option on the plugin page are enable and detailed logging which seem sort of like defaults. Where is this file and don’t I need it?

  • Justin

    Marvelous plugin as it really helps me manage my public and private torrents.
    One suggestion would be to add 1.25 & 1.75 to the ratio selection in the options.
    I’m not the best coder around; very basic stuff, but if you’d rather not add in the extra 2 ratios could you tell me of a editor to which I could add them in myself.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.