-
Notifications
You must be signed in to change notification settings - Fork 86
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
When adding a torrent, offer directory suggestions #285
Comments
Hi! Implementation aside (didn't look at it yet), I'm rather neutral to this feature due to a mix of up and downsides. Upsides: I can imagine the UI evolving to have a directory picker. Which is nicer than typing the path. Downsides:
I'd imagine there must be some HTML way to add a directory picker? That would alleviate all my concerns as this will stay UI only. |
I'll look into this, but my guess is that any browser-native options would only be able to work on a local filesystem, where the browser can query the FS to list paths. I have a proposal that may address your concerns of having UI-only features in the UI as well as solve a 2nd problem I'm having. When I try to add a magnet link for an old / low-seed count torrent, the current usage of a So, what if, instead of making the Here's a proposed workflow:
If this is interesting, I can try to start off by adding |
Ah of course! That in itself is enough to alleviate my concerns. It's plain impossible to list dirs on the client in your case, and the case is legit. So I'm for for the original proposal conceptually. As for the second part, by a brief look, I didn't understand this: what stops you from just updating UI to add a torrent without list only by just providing magnet+ output folder? The only reason listOnly is there now is so that you can select the files you want. But you can do that after adding the torrent too anyway. Sorry if not clear I'm on phone |
Yeah, what you suggest is probably the simplest thing to start with, I like it. So I'll start with those two changes:
I'll revisit this issue once I get to the UI component to "set new output dir", because I have a feeling that could be utilized in the existing AddTorrent modal and augmented to solve this current issue as well. |
The first one is good, but UI alone won't be enough, you need to update the backend to allow adding torrents without waiting for them to resolve the magnet. As for the second one, changing output folder on an already managed torrent sounds pretty error-prone. The only sane way to attempt it is to pause, rename every file, then unpause. You will also need to update the persistence database. But anything in this process can fail mid-way, and then the torrent will be left in a screwed up state. Cleaning up that mess will be a much bigger problem. So nasty that I'd abandon the whole idea at inception. Unless you see an easier way! |
Added #286 to discuss the changes needed adding a torrent without resolving magnet to split off discussion over there. Rename isn't something I have an urgent need for, so I'll punt on that for now, you're right, it seems like that's a fairly delicate operation and not much benefit at the moment. |
In the rqbit web UI, the download interface offers a destination path which defaults to the download directory.
As a user, I try to keep an organization system - there is
/home/rqbit/downloads/audio
and/home/rqbit/downloads/other
and/home/rqbit/downloads/video
, and within these I have more subdirs for more specific filing.When adding a torrent, I may not always know the exact folder I want to put it in, but I know there is some folder and I currently need to go look up my directory structure elsewhere.
I'm interested in adding support for "suggested directories" and a few other quality-of-life improvements around destinations, and wanted to check if these are worth pursuing to get them upstreamed here.
I started on an implementation in this branch that adds another API called
dirPreview
currently, and it returns the current destination and a few directories with it.The UI is still a bit rough so I definitely have some work to do there, and I don't love the naming
dirPreview
for the API, but wanted to check and see what appetite there is for this change.The text was updated successfully, but these errors were encountered: