Is there to limit the time a particular torrent can download?

Other platforms, generic questions.
Post Reply
RedScourge17

Is there to limit the time a particular torrent can download?

Post by RedScourge17 »

I have a particular torrent that's 160GB to download. I am no longer limited by bandwidth, but I am finally able to share more than I download. This 160GB will put all that out of whack (limitations of my proxies, I guess -- VPN, etc.).

So, is there a way to limit WHEN this torrent can download?
As in, you can only download between 1am and 2am. Otherwise, remain stalled OR upload only?
I know this will take me longer to finish it, but right now there are plenty of seeds. And eventually I will seed the hell out of it also.
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: Is there to limit the time a particular torrent can download?

Post by Peter »

Well you could toggle the alternate speeds where you would limit upload and only enable download or whatever.
But how to toggle that?
Well, qbittorrent has an API. With Python, and the library, you could literally do this in a one-liner.

See: https://qbittorrent-api.readthedocs.io/ ... r.Transfer

Code: Select all

>>> from qbittorrentapi import Client
>>> client = Client(host='localhost:8080', username='admin', password='adminadmin')
>>> # update speed limits mode to alternate or not
>>> client.transfer.speedLimitsMode = True
It uses the WebUI to do the API calls.
RedScourge17

Re: Is there to limit the time a particular torrent can download?

Post by RedScourge17 »

Thank you!

That helped.
Post Reply