-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External script with keybinding #113
Comments
I'm not sure to understand what your feature request is. aria2p already provides programmatic ways to modify options within the running aria2 server. See for example https://pawamoy.github.io/aria2p/reference/api/#aria2p.api.API.set_global_options and Are you asking for specific keybindings within the TUI to change these options? Or some kind of TUI menu? |
I want to define keybinding in TUI can run a costume script. Another example, I want to open a specific download in my file manager. If I have selected item (in TUI) destination and can run a custom command in bash with key |
I'm waiting for the CSS branch of Textual to be released. Then I'll be able to rewrite the TUI with Textual and hopefully it will make it much more easier to implement such features. PRs welcome in the mean time 🙂 |
I was asking about it too here |
Textual can be used now to re-implement the TUI with it. Happy to review PRs, otherwise I'll get to it when I need to have some fun 🙂 |
Is your feature request related to a problem? Please describe.
For control, some aspect of aria2p need to change config with scripts like this issue #112. It is hard or complicated to implement into aria2p.
Describe the solution you'd like
run external (bash or python) scripts with keybinding can solve this problem and expand functionality of aria2p.
For example, we can run a bash script with key binding that ask speed limit, then change some value in aria2c and restart server.
Boost priority
The text was updated successfully, but these errors were encountered: