-
-
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
Open a file right from aria2p #109
Comments
Could you expand a bit? What file? What shell commands? |
Excuse me, wasn’t clear. Open any downloaded file right from top interface, wouldn’t it be nice to open a video without the need to open the folder elsewhere? And bind keys for custom shell commands, so we can for example move files to predefined directories with simple shell commands and etc. etc. etc. I have binded a key for aria2p terminal window, a bit annoying that you can’t even go to downloads folder from it like from any downloads manager, but you could. |
Unfortunately there's absolutely no way to do that from aria2p. We're communicating with the server using the HTTP (JSON-RPC) protocol, so we simply cannot issue shell commands onto the server where the aria2c daemon is running. Of course we could issue commands on the current machine, where aria2p is running, but that would only work when the daemon is also running locally and not on a remote server. If you have suggestions on how to make this work for remote servers as well, please share! In the meantime I'll close this issue. EDIT: we could argue that aria2p already provides functions that only work locally, so why not add more. Well, indeed, why not. We just need to design a good architecture to handle the situation where the daemon is on a remote server (to replace local ops with no ops and warnings). |
I meant the aria2p top interface, would be absolutely awesome if we could add a keystroke to open the file or its location in ranger or other file manager via a command. |
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 🙂 |
Would be useful a lot to open a file with a keystroke and even perfect to make shell custom commands binded to a key.
Boost priority
The text was updated successfully, but these errors were encountered: