Opened 14 years ago
Last modified 7 years ago
#1206 new feature-request
Add a session upload-only mode
Reported by: | Joe Fission | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.x |
Component: | Core | Version: | develop |
Keywords: | Cc: | runesvend@gmail.com, deluge-torrent.org@stellar.eclipse.co.uk |
Description
In my situation, I was trying to set up the scheduler to basically turn off my downloads entirely and to just upload/seed only. For that, I set the download speed to "0" and the upload speed to "-1". However, upon doing so, downloads continued at full speed as if it were still set to "-1". When this didn't work within the scheduler plugin, I tried setting my global download speed in Deluge to "0" and the same result occurred... Deluge continued to download at full speed.
I realize forcing "0" to mean "stop" for any limit other than downloads would be unwanted (eg. allowing people to stop their uploads pretty much goes against the spirit of the bittorrent spec). Forcing a limit of "0" to mean "stop" for download speed only would allow the scheduler to be used to set periods of only uploading/seeding activity. At any rate, this may be useful to anyone trying to seed torrents or even to those trying to maintain their ratio with a private tracker.
Change History (13)
comment:1 by , 14 years ago
Version: | 1.2.1 → 1.2.2 |
---|
comment:2 by , 14 years ago
Milestone: | → 1.4.0 |
---|
comment:3 by , 14 years ago
OK... just reiterating for clarification that this bug doesn't only exist in the scheduler. This also occurs when setting Deluge's global download speed to "0" as well.
While I am quite intrigued about any changes to the scheduler, to be quite frank, the scheduler would suit me fine as it is right now if Deluge recognized a "0" download speed to mean "stop downloading".
comment:4 by , 14 years ago
Component: | core → libtorrent |
---|
This is a libtorrent feature, not a Deluge issue.
comment:5 by , 14 years ago
This isn't really a bug. To stop downloading, set the priorities to all files to 0. To stop uploading, enable upload_only mode
comment:6 by , 14 years ago
Component: | libtorrent → core |
---|---|
Type: | bug → feature-request |
Version: | 1.2.2 |
comment:7 by , 14 years ago
Priority: | major → minor |
---|---|
Summary: | Deluge assumes a "0" (zero) download speed means "unlimited" similar to setting it to "-1". → Ability to stop downloading and upload only |
comment:8 by , 14 years ago
Cc: | added |
---|
follow-up: 10 comment:9 by , 14 years ago
So if someone were to add this "upload_only_mode" functionality to Deluge, would it be acceptable to enable this by specifying "0" as the download speed limit? Or would some other way of enabling torrents to only upload data be preferred?
As far as I can tell, specifying "0" as the download limit would be the cleanest way of enabling upload_only_mode. Can anyone think of why it shouldn't be enabled by specifying "0" as the download rate limit?
Ideally, this should work both globally and on torrents individually.
comment:10 by , 13 years ago
Cc: | added |
---|
Replying to runeks:
So if someone were to add this "upload_only_mode" functionality to Deluge, would it be acceptable to enable this by specifying "0" as the download speed limit?
As far as I can tell, specifying "0" as the download limit would be the cleanest way of enabling upload_only_mode. Can anyone think of why it shouldn't be enabled by specifying "0" as the download rate limit?
I just found this bug because deluge has continued seeding dispite the fact that I thought I told the scheduler to stop at 9am this morning. Having -1 mean unlimited everywhere else, and having 0 also mean unlimited in only some text-entry boxes seems very unintuitive to me.
I assume damoxc says "this is a libtorrent feature, not a Deluge issue" because Deluge blindly passes the values in its text entry boxes onto libtorrent. Well, actually, it doesn't have to. Deluge can be more helpful and user friendly and intuitive and say "if x == -1 then do something completely different".
comment:12 by , 10 years ago
Milestone: | 1.4.0 → 2.0.0 |
---|
comment:13 by , 7 years ago
Milestone: | 2.0 → 2.x |
---|---|
Summary: | Ability to stop downloading and upload only → Add a session upload-only mode |
Version: | → develop (git) |
This is currently not possible on a session wide basis with libtorrent but I shall ask dev about it.
There are plans to improve the scheduler, it is just finding the time to do so at the moment!