Open Soundtoxin opened 2 years ago
On Sat, Mar 05, 2022 at 11:29:51AM -0800, Bradley wrote:
"start this torrent in 5 minutes"
$ sleep 5m ; stig start my_torrent
I'd like to be able to chain actions together
That's already possible with the &, | and ; command operators. It's just not meaningful with the "verify" command because its return value is not the result of the verification (which can take forever) but whether it started verifying one or more torrents.
Until the rewrite is done, you should be able to script everything you explained.
Ah, I use the TUI for everything, didn't think to use the CLI for this. I like to add the torrents in a stopped state, set their location, and just start them later, so I guess from the CLI I would need their ID. Not ideal, but I'll try it later. Thanks for the idea.
rewrite
Stig is being re-written in something besides Python? I didn't know.
On Sat, Mar 05, 2022 at 01:34:40PM -0800, Bradley wrote:
I guess from the CLI I would need their ID.
You can also use the name or hash or any other filter that only matches that torrent.
Stig is being re-written in something besides Python? I didn't know.
It's still gonna be in Python but I'll move much of the code into separate projects and use a different TUI library.
And I haven't started yet, I've too many other things to do, but it's on my list. Also, it's going to take a while. Don't stay tuned.
I would like to be able to do something like "start this torrent in 30 minutes" or "start this torrent in 5 minutes". Also, only somewhat related, I'd like to be able to chain actions together like "verify the files of this torrent and then start it" for when I've added a torrent and then downloaded the files elsewhere and want to make sure it checks before starting so it basically just goes to seeding. (bonus points if I can tell it to only start if the % is 100 after the check is over) I really like to start torrents in a certain order so that the files are created in the order I want, and so sometimes I'll wait a bit to start some of what I added. I also don't completely trust the queue order since I can't check/change priority, so even if I have 3 things downloading and then a few more queued, I don't really know if the queued things will get a download slot in the right order. Timers would solve this as I could manually give them all different start times.