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

Photo download button doesn't respect library path. #389

Open
bryanlyon opened this issue Mar 31, 2022 · 1 comment
Open

Photo download button doesn't respect library path. #389

bryanlyon opened this issue Mar 31, 2022 · 1 comment

Comments

@bryanlyon
Copy link

Describe the bug
Download fails to account correctly for correct library path.

To Reproduce
Steps to reproduce the behavior:

  1. Create a library called "Photos" with a data path of /data/photos2
  2. View a photo through the UI
  3. Click the "download" button
  4. File path given fails to download since it tries to download from path of 127.0.0.1:8000/photos/path instead of 127.0.0.1:8000/photos2/path

Expected behavior
File should be downloaded

Server (please complete the following information):

  • QNAP NAS
  • OS: QNAP QTS 5.0
  • Architecture: X86

I'm not sure if this is because the library itself is called "Photos" (instead of "Photos2") or if it's looking to a hardcoded /data/photos location.

@cilynx
Copy link

cilynx commented Jul 26, 2022

I could be wrong as I'm just starting to explore this project, but it looks to be hard coded in settings.py. Those may be defaults that should be overridden by user settings, but that's a good place to start debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants