Skip to content
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

[Feature Request]: add save folder navigation #1459

Open
1 task
kakmoster opened this issue Jan 14, 2024 · 15 comments
Open
1 task

[Feature Request]: add save folder navigation #1459

kakmoster opened this issue Jan 14, 2024 · 15 comments
Labels
Feature New Feature help wanted Extra attention is needed

Comments

@kakmoster
Copy link

Description

I would love to be able to navigate folders in the ui when adding/moving torrents. Qbittorrent doesn't have this feature but other custom webuis allow it so it should be doable.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Complementary informations

  • Is this feature already implemented in the default WebUI?
@kakmoster kakmoster added Feature New Feature triage Issue hasn't been assessed yet labels Jan 14, 2024
@WDaan
Copy link
Collaborator

WDaan commented Jan 14, 2024

Can you show an example of where something like this is implemented?

@Larsluph
Copy link
Collaborator

I would love to see it too, without installing something else it is impossible to do.

@kakmoster
Copy link
Author

kakmoster commented Jan 15, 2024

Can you show an example of where something like this is implemented?

https://github.com/bill-ahmed/qbit-matUI

This ui have it

The browsing works, but other thing like change save path does not seem work and it is outdated.

@Larsluph
Copy link
Collaborator

Local browsing is already done and as said earlier, remote browsing is impossible to do without installing anything alongside qBittorrent.

@Larsluph Larsluph closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2024
@kakmoster
Copy link
Author

Local browsing is already done and as said earlier, remote browsing is impossible to do without installing anything alongside qBittorrent.

I'm sorry I don't have the greatest knowledge, but how has the author of the ui I posted above done it?

To be clear: folder navigation works when I apply that ui and I run qbittorrent docker container on a remote server.

Based on this, I wouldn't call it impossible..

@Larsluph
Copy link
Collaborator

As a client app, we have no way of accessing the server filesystem. Without additional setup on your server environment, it's in fact impossible.

If you talk about the local navigation, it's already implemented while adding a torrent file.
Everywhere else, it's the server filesystem that is used so navigation isn't possible ATM.

@Larsluph
Copy link
Collaborator

I just checked the WebUI you mentioned, folder navigation only works because you run the qBittorrent instance on the same computer you use the WebUI. In that case, server and client being the same source you can access the filesystem.

@kakmoster
Copy link
Author

I just checked the WebUI you mentioned, folder navigation only works because you run the qBittorrent instance on the same computer you use the WebUI. In that case, server and client being the same source you can access the filesystem.

Thanks for checking.

I run qbittorrent on my headless server and access it from my laptop.

@Larsluph
Copy link
Collaborator

Larsluph commented Jan 18, 2024

I looked deeper in the source code and actually the way it works is by scanning all torrents' save_path to try and deduce its filesystem.
The app "copies" the filesystem in-memory to navigate inside it.

Using that could be okay but it will require some time to implement all that.

Source:

@Larsluph Larsluph reopened this Jan 18, 2024
@Larsluph Larsluph added help wanted Extra attention is needed and removed triage Issue hasn't been assessed yet labels Jan 18, 2024
@johnyb0y
Copy link

@Larsluph This PR in the qBittorrent Repo is possibly relevant here: qbittorrent/qBittorrent#20314
So in the future there might be an API for that.

@Larsluph
Copy link
Collaborator

@Larsluph This PR in the qBittorrent Repo is possibly relevant here: qbittorrent/qBittorrent#20314
So in the future there might be an API for that.

Awesome! Thanks for the notice 🙏

@yayza
Copy link

yayza commented Apr 15, 2024

This feature would be great to have, but I was wondering if in the meantime it was possible to manually define paths to folders I've already created and organized for my media and add them to the Save path drop-down menu?

@johnyb0y
Copy link

This feature would be great to have, but I was wondering if in the meantime it was possible to manually define paths to folders I've already created and organized for my media and add them to the Save path drop-down menu?

You can do that with categories. You can define a path per category and use the category dropdown. But further questions please somewhere else like the forum as this is not meant for support.

@Larsluph
Copy link
Collaborator

Larsluph commented Apr 15, 2024

On top of that, I already added historisation on path fields so that you don't have to retype same paths everytime.

@johnyb0y
Copy link

johnyb0y commented May 1, 2024

@Larsluph This PR in the qBittorrent Repo is possibly relevant here: qbittorrent/qBittorrent#20314
So in the future there might be an API for that.

Awesome! Thanks for the notice 🙏

@Larsluph Just FYI: The PR has now been merged and will be part of the upcoming 5.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants